projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed9605a
)
drm/udl: Suppress error print for -EPROTO at URB completion
author
Takashi Iwai
<tiwai@suse.de>
Thu, 8 Sep 2022 09:51:08 +0000
(11:51 +0200)
committer
Thomas Zimmermann
<tzimmermann@suse.de>
Sat, 10 Sep 2022 19:45:52 +0000
(21:45 +0200)
The driver may receive -EPROTO at the URB completion when the device
gets disconnected, and it's a normal situation. Suppress the error
print for that, too.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link:
https://patchwork.freedesktop.org/patch/msgid/20220908095115.23396-6-tiwai@suse.de
drivers/gpu/drm/udl/udl_main.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/udl/udl_main.c
b/drivers/gpu/drm/udl/udl_main.c
index a9f6b710b254ee225a753df96ce9b4d9eb658e0a..6aed6e0f669c18fda5c36beb8acc5027518c0bdd 100644
(file)
--- a/
drivers/gpu/drm/udl/udl_main.c
+++ b/
drivers/gpu/drm/udl/udl_main.c
@@
-126,6
+126,7
@@
void udl_urb_completion(struct urb *urb)
if (urb->status) {
if (!(urb->status == -ENOENT ||
urb->status == -ECONNRESET ||
+ urb->status == -EPROTO ||
urb->status == -ESHUTDOWN)) {
DRM_ERROR("%s - nonzero write bulk status received: %d\n",
__func__, urb->status);