diff options
author | Hans de Goede <hdegoede@redhat.com> | 2019-08-11 16:37:25 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2019-08-12 21:30:21 +0200 |
commit | ac9fd659ef8cac9a71f0ef943ef6da04f1939775 (patch) | |
tree | ce2938e215c51d53cff1a5f897284b73680c898b /drivers/gpu/drm/tiny | |
parent | 9b61db1aed5c62180a374ab4dd774d1625bdd8d4 (diff) | |
download | linux-stable-ac9fd659ef8cac9a71f0ef943ef6da04f1939775.tar.gz linux-stable-ac9fd659ef8cac9a71f0ef943ef6da04f1939775.tar.bz2 linux-stable-ac9fd659ef8cac9a71f0ef943ef6da04f1939775.zip |
drm: gm12u320: Add -ENODEV to list of errors to ignore
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
Diffstat (limited to 'drivers/gpu/drm/tiny')
-rw-r--r-- | drivers/gpu/drm/tiny/gm12u320.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tiny/gm12u320.c b/drivers/gpu/drm/tiny/gm12u320.c index aa4b46e47e19..03d0e2df6774 100644 --- 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 != -ENODEV && ret != -ECONNRESET && ret != -ESHUTDOWN) GM12U320_ERR("Frame update error: %d\n", ret); } |