summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2014-02-14 20:49:46 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-18 12:08:15 -0800
commit73926db33b277c4c371edbc9fe9093adc9b2803b (patch)
treed07829e0d191fa95840f62a0ffb2e1f18753e34e /usr
parent12df84d4a80278a5b1abfec3206795291da52fc9 (diff)
downloadblackbird-op-linux-73926db33b277c4c371edbc9fe9093adc9b2803b.tar.gz
blackbird-op-linux-73926db33b277c4c371edbc9fe9093adc9b2803b.zip
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud