usb: renesas_usbhs: inaccessible pipe is not an error
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Родитель
9a12d09765
Коммит
4ef85e0f69
|
@ -316,8 +316,11 @@ static int usbhsf_pio_try_push(struct usbhs_pkt *pkt, int *is_done)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
ret = usbhs_pipe_is_accessible(pipe);
|
ret = usbhs_pipe_is_accessible(pipe);
|
||||||
if (ret < 0)
|
if (ret < 0) {
|
||||||
|
/* inaccessible pipe is not an error */
|
||||||
|
ret = 0;
|
||||||
goto usbhs_fifo_write_busy;
|
goto usbhs_fifo_write_busy;
|
||||||
|
}
|
||||||
|
|
||||||
ret = usbhsf_fifo_barrier(priv, fifo);
|
ret = usbhsf_fifo_barrier(priv, fifo);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче