projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b61db1
)
drm: gm12u320: Add -ENODEV to list of errors to ignore
author
Hans de Goede
<hdegoede@redhat.com>
Sun, 11 Aug 2019 14:37:25 +0000
(16:37 +0200)
committer
Hans de Goede
<hdegoede@redhat.com>
Mon, 12 Aug 2019 19:30:21 +0000
(21:30 +0200)
Add -ENODEV to the list of usb-transfer errors which we ignore to
avoid logging Frame update errors when the device gets unplugged.
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20190811143725.5951-2-hdegoede@redhat.com
drivers/gpu/drm/tiny/gm12u320.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/tiny/gm12u320.c
b/drivers/gpu/drm/tiny/gm12u320.c
index aa4b46e47e19cf1ede713dda53eca0b9cd4cdca4..03d0e2df6774408c15c976ad930113d1975b4106 100644
(file)
--- a/
drivers/gpu/drm/tiny/gm12u320.c
+++ b/
drivers/gpu/drm/tiny/gm12u320.c
@@
-422,7
+422,7
@@
static void gm12u320_fb_update_work(struct work_struct *work)
return;
err:
/* Do not log errors caused by module unload or device unplug */
- if (ret != -ECONNRESET && ret != -ESHUTDOWN)
+ if (ret != -E
NODEV && ret != -E
CONNRESET && ret != -ESHUTDOWN)
GM12U320_ERR("Frame update error: %d\n", ret);
}