]> git.baikalelectronics.ru Git - kernel.git/commit
usb: PS3 EHCI HC reset work-around
authorGeoff Levand <geoff@infradead.org>
Wed, 23 Nov 2011 02:33:45 +0000 (18:33 -0800)
committerGeoff Levand <geoff@infradead.org>
Thu, 8 Dec 2011 17:38:53 +0000 (09:38 -0800)
commiteb07f3271f0a67a4e9be9efd5f36ef4491671a0c
tree4b5c7bcecca9cabf00da1050a4bbe405352d4d70
parent91f7af93dba1aa867e32b4172dadff9ccb09d7ff
usb: PS3 EHCI HC reset work-around

PS3 EHCI HC errata fix 316 - The PS3 EHCI HC will reset its
internal INSNREGXX setup regs back to the chip default values
on Host Controller Reset (CMD_RESET) or Light Host Controller
Reset (CMD_LRESET).  The work-around for this is for the HC
driver to re-initialise these regs when ever the HC is reset.

Adds a new helper routine ps3_ehci_setup_insnreg() which is
called from ps3_ehci_hc_reset().

Signed-off-by: Geoff Levand <geoff@infradead.org>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
drivers/usb/host/ehci-ps3.c