lkml.org 
[lkml]   [2022]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 05/12] drm/udl: Suppress error print for -EPROTO at URB completion
    Date
    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>
    ---
    drivers/gpu/drm/udl/udl_main.c | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/drivers/gpu/drm/udl/udl_main.c b/drivers/gpu/drm/udl/udl_main.c
    index a9f6b710b254..6aed6e0f669c 100644
    --- 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);
    --
    2.35.3
    \
     
     \ /
      Last update: 2022-08-16 17:40    [W:4.129 / U:0.084 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site