diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2011-07-03 20:42:47 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-07-08 18:07:24 -0400 |
commit | 4ef85e0f697051829179c4fdeda1bd3f4166dc17 (patch) | |
tree | 34ffc9c10e918a5023399a904c6d3215136e61b0 /drivers/usb | |
parent | 9a12d09765b72f7e1642f36d0e3ad2ce61fd31b6 (diff) |
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>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/renesas_usbhs/fifo.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/usb/renesas_usbhs/fifo.c b/drivers/usb/renesas_usbhs/fifo.c index 912ce62279a6..406893e4422b 100644 --- a/drivers/usb/renesas_usbhs/fifo.c +++ b/drivers/usb/renesas_usbhs/fifo.c | |||
@@ -316,8 +316,11 @@ static int usbhsf_pio_try_push(struct usbhs_pkt *pkt, int *is_done) | |||
316 | return 0; | 316 | return 0; |
317 | 317 | ||
318 | ret = usbhs_pipe_is_accessible(pipe); | 318 | ret = usbhs_pipe_is_accessible(pipe); |
319 | if (ret < 0) | 319 | if (ret < 0) { |
320 | /* inaccessible pipe is not an error */ | ||
321 | ret = 0; | ||
320 | goto usbhs_fifo_write_busy; | 322 | goto usbhs_fifo_write_busy; |
323 | } | ||
321 | 324 | ||
322 | ret = usbhsf_fifo_barrier(priv, fifo); | 325 | ret = usbhsf_fifo_barrier(priv, fifo); |
323 | if (ret < 0) | 326 | if (ret < 0) |