mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-04 00:15:49 -04:00
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 <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
2263251fbb
commit
164814bb6e
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user