staging: octeon-usb: move fifo setup to controller reset from port reset

Move FIFO setup to controller reset from port reset.

Signed-off-by: Aaro Koskinen <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
Aaro Koskinen authored and Greg Kroah-Hartman committed 2015-03-24 13:47:12 +01:00
1 parent 2263251fbb
commit 164814bb6e
1 file changed
+2 -2
+2 -2
View File
@@ -918,6 +918,8 @@ static int cvmx_usb_initialize(struct cvmx_usb_state *usb)
*/
}
cvmx_fifo_setup(usb);
return 0;
}
@@ -1005,8 +1007,6 @@ static int cvmx_usb_enable(struct cvmx_usb_state *usb)
usb->usbcx_hprt.u32 = cvmx_usb_read_csr32(usb,
CVMX_USBCX_HPRT(usb->index));
cvmx_fifo_setup(usb);
return 0;
}