aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-dev.c
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2012-03-02 16:23:36 -0500
committerLuis Henriques <luis.henriques@canonical.com>2012-04-05 11:17:21 -0400
commit20237ed6ccada75b001add94adc7ca4274b572dd (patch)
tree99c4a47e413f7b31ab969ca190afd23bc98bb48a /drivers/rtc/rtc-dev.c
parent01e5cfdbad88cc93c34b55b0015587375acffed4 (diff)
rtlwifi: rtl8192c: Prevent sleeping from invalid context in rtl8192cu
BugLink: http://bugs.launchpad.net/bugs/971808 commit ebecdcc12fed5d3c81853dea61a0a78a5aefab52 upstream. When driver rtl8192cu is used with the debug level set to 3 or greater, the result is "sleeping function called from invalid context" due to an rcu_read_lock() call in the DM refresh routine in driver rtl8192c. This lock is not necessary as the USB driver does not use the struct being protected, thus the lock is set only when a PCI interface is active. This bug is reported in https://bugzilla.kernel.org/show_bug.cgi?id=42775. Reported-by: Ronald Wahl <ronald.wahl@raritan.com> Tested-by: Ronald Wahl <ronald.wahl@raritan.com> Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Cc: Ronald Wahl <ronald.wahl@raritan.com> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/rtc/rtc-dev.c')
0 files changed, 0 insertions, 0 deletions