]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8712: fix double lock bug in SetPSModeWorkItemCallback()
authorWei Yongjun <weiyongjun1@huawei.com>
Thu, 15 Sep 2016 10:12:05 +0000 (10:12 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Sep 2016 08:05:13 +0000 (10:05 +0200)
commit1640515f459e5984250ca1eaaa590ea15b7c5b5b
treeaeaae4b8ec07da07e6aab96812d144b5d2d26da2
parent123de69e1fa7dc1e69e8a2767deb5d9070251433
staging: rtl8712: fix double lock bug in SetPSModeWorkItemCallback()

Fix a double lock bug in SetPSModeWorkItemCallback().

Fixes: 96455e1a3242 ("rtl8712: pwrctrl_priv: Replace semaphore lock with mutex")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/rtl871x_pwrctrl.c