diff options
author | Patrice Vilchez <[email protected]> | 2010-04-28 13:45:40 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2010-04-30 09:25:12 -0700 |
commit | 869aa98c1d6a03dd2078f8f8257a0bcc343cb8b9 (patch) | |
tree | 38bf46e1fac89285410cf782ca34546fb4dc22cf /lib/string_helpers.c | |
parent | 073900a28d95c75a706bf40ebf092ea048c7b236 (diff) |
USB: ohci-at91: fix power management hanging
A hanging has been detected in ohci-at91 while going in suspend to ram. This is
due to asynchronous operations between ohci reset and ohci clocks shutdown.
This patch adds the reading of the control register between the reset of the
ohci and clocks stop. This "flush the writes" idea was taken from ohci-hcd.c
file (ohci_shutdown() function).
Signed-off-by: Patrice Vilchez <[email protected]>
Signed-off-by: Nicolas Ferre <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions