summaryrefslogtreecommitdiff
path: root/crypto/rmd320.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2010-10-25 13:01:55 (GMT)
committerDavid S. Miller <davem@davemloft.net>2010-10-26 18:34:09 (GMT)
commitf2dc0d1809ab7e0147c7e4ac837be1682f706538 (patch)
tree1b97e8fda5b7893cf3e227f091b91c92e8cc8334 /crypto/rmd320.c
parent78fd9c4491a9c4cf8b401f1c5a516d3d28d3b42b (diff)
downloadlinux-fsl-qoriq-f2dc0d1809ab7e0147c7e4ac837be1682f706538.tar.xz
tg3: Do not call device_set_wakeup_enable() under spin_lock_bh
The tg3 driver calls device_set_wakeup_enable() under spin_lock_bh, which causes a problem to happen after the recent core power management changes, because this function can sleep now. Fix this by moving the device_set_wakeup_enable() call out of the spin_lock_bh-protected area. Reported-by: Maxim Levitsky <maximlevitsky@gmail.com> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/rmd320.c')
0 files changed, 0 insertions, 0 deletions