lkml.org 
[lkml]   [2023]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] media: imon: fix stall in worker_thread
Date
On Fri, 13 Oct 2023 12:59:09 +0200 Simon Horman wrote:
> The code is already switching based on urb->status,
> so unless the warning message is really desired,
> perhaps this is more appropriate?
>
> diff --git a/drivers/media/rc/imon.c b/drivers/media/rc/imon.c
> index 74546f7e3469..0e2f06f2f456 100644
> --- a/drivers/media/rc/imon.c
> +++ b/drivers/media/rc/imon.c
> @@ -1799,6 +1799,7 @@ static void usb_rx_callback_intf1(struct urb *urb)
>
> switch (urb->status) {
> case -ENOENT: /* usbcore unlink successful! */
> + case -EPROTO: /* XXX: something goes here */
> return;
>
> case -ESHUTDOWN: /* transport endpoint was shut down */

Hi Simon Horman,

Who added the above code where?

\
 
 \ /
  Last update: 2023-10-14 05:51    [W:0.049 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site