X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fusb%2Frenesas_usbhs%2Ffifo.c;fp=drivers%2Fusb%2Frenesas_usbhs%2Ffifo.c;h=b9ab8aefcae02f6c5c5428cc276c5c5b89fcec18;hb=923520715b5a698271f8763e97eee65e21d5561e;hp=328238c373f67a894dcf778012b3fb91c3b4fbf6;hpb=0deb3e77025688e0650e1af672d3e42e15cd8916;p=pandora-kernel.git diff --git a/drivers/usb/renesas_usbhs/fifo.c b/drivers/usb/renesas_usbhs/fifo.c index 328238c373f6..b9ab8aefcae0 100644 --- a/drivers/usb/renesas_usbhs/fifo.c +++ b/drivers/usb/renesas_usbhs/fifo.c @@ -291,9 +291,13 @@ static int usbhsf_fifo_select(struct usbhs_pipe *pipe, usbhsf_fifo_is_busy(fifo)) return -EBUSY; - if (usbhs_pipe_is_dcp(pipe)) + if (usbhs_pipe_is_dcp(pipe)) { base |= (1 == write) << 5; /* ISEL */ + if (usbhs_mod_is_host(priv)) + usbhs_dcp_dir_for_host(pipe, write); + } + /* "base" will be used below */ usbhs_write(priv, fifo->sel, base | MBW_32);