summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorJérôme Pouiller <jerome.pouiller@silabs.com>2020-05-15 10:33:07 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-05-15 15:49:14 +0200
commit9773cf1c1a803ea6c5f2726489d9bd518c17f869 (patch)
tree978a9de7f3bff70280006652961b6ca3201491c6 /net/lapb/lapb_out.c
parent3abbab51321f51bdb1c64f2296644110c7a61f62 (diff)
staging: wfx: fix warning when unregister a frozen device
The device does not answer to the command hif_shutdown. Therefore, hif_shutdown() is a bit special. It bypasses some of work normally made by wfx_cmd_send(). In particularly, it unlock hif_cmd.lock and hif_cmd.key_renew_lock. However, if the driver notice that the device is frozen, wfx_cmd_send() stops to send data and doesn't lock the mutexes. Then, it produced a warning when hif_shutdown() tried to unlock these mutexes. Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com> Link: https://lore.kernel.org/r/20200515083325.378539-2-Jerome.Pouiller@silabs.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions