aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorMarc Ohlf <[email protected]>2016-08-03 11:51:54 +0200
committerGreg Kroah-Hartman <[email protected]>2016-08-09 16:14:18 +0200
commitbc337b51508beb2d039aff5074a76cfe1c212030 (patch)
treee3cb2492951b8cccd32f1872617a30cbf6a4b51c /lib/mpi/mpi-bit.c
parentaed9d65ac3278d4febd8665bd7db59ef53e825fe (diff)
usb: ehci: change order of register cleanup during shutdown
In ehci_turn_off_all_ports() all EHCI port registers are cleared to zero. On some hardware, this can lead to an system hang, when ehci_port_power() accesses the already cleared registers. This patch changes the order of cleanup. First call ehci_port_power() which respects the current bits in port status registers and afterwards cleanup the hard way by setting everything to zero. Signed-off-by: Marc Ohlf <[email protected]> Acked-by: Alan Stern <[email protected]> CC: <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions