summaryrefslogtreecommitdiffstats
path: root/drivers/devfreq/governor_simpleondemand.c
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2014-01-15 14:09:49 +0100
committerFelipe Balbi <balbi@ti.com>2014-02-18 10:34:07 -0600
commit30d361bf0f81ece8de42c5e0a4e560270ad72b65 (patch)
tree6c1e85c58e1d8de250f89ff9511dea6ee308fcef /drivers/devfreq/governor_simpleondemand.c
parentd246c9d55a90722fac9e7284201088eb62adcfc3 (diff)
downloadop-kernel-dev-30d361bf0f81ece8de42c5e0a4e560270ad72b65.zip
op-kernel-dev-30d361bf0f81ece8de42c5e0a4e560270ad72b65.tar.gz
usb: musb: do not sleep in atomic context
musb_port_reset() is called from musb_hub_control() which in turn holds a spinlock, so musb_port_reset() is not allowed to call msleep(). With the asynchronous work helpers in place, this is fortunately easy to fix by rescheduling the reset deassertion function to after the time when the wait period is finished. Note, however, that the MUSB_POWER_RESUME bit is only set on AM33xx processors under rare conditions such as when to another driver reporting an error during suspend. Hence, this didn't hit me yet in normal operation. Signed-off-by: Daniel Mack <zonque@gmail.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/devfreq/governor_simpleondemand.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud