diff options
author | Roger Quadros <rogerq@ti.com> | 2012-07-26 18:08:09 +0300 |
---|---|---|
committer | Xavier Boudet <x-boudet@ti.com> | 2012-07-26 17:21:09 +0200 |
commit | 651c1e3dd877011714b0f6d50d7c653e731df6db (patch) | |
tree | 3868c055a43209b0fab7be6700dfd4a893087e0f /debian.ti-omap4/abi/3.4.0-1485.5/armhf/omap4.modules | |
parent | 692a9a995256d0813a7c494913f66c28f8d53e58 (diff) |
usb: musb: fix suspend/resume after gadget driver is loaded and unloaded
If the MUSB controller is already suspended via runtime suspend then it
will be disabled (and clocks gated) thus accessing the controller
while system suspend to save state will cause L3 bus errors.
This problem can be reproduced by loading a gadget driver, unloading
it and putting the system to suspend.
There is no need to save/restore controller state in this case
as the corresponding runtime suspend/resume functions are already doing that.
This patch makes sure we don't access the MUSB controller registers in the
suspend path if it is already disabled.
Signed-off-by: Roger Quadros <rogerq@ti.com>
Diffstat (limited to 'debian.ti-omap4/abi/3.4.0-1485.5/armhf/omap4.modules')
0 files changed, 0 insertions, 0 deletions