]> git.karo-electronics.de Git - linux-beck.git/commit
mei: nfc: mei_nfc_free has to be called under lock
authorTomas Winkler <tomas.winkler@intel.com>
Wed, 8 Jan 2014 18:57:44 +0000 (20:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Jan 2014 23:27:42 +0000 (15:27 -0800)
commit0631213f3f6ee776db2fb2136778b570d6a17cab
tree011bacb947019388fb66557f3ca131a59318b863
parent66ae460b13c31a176b41550259683c841a62af3e
mei: nfc: mei_nfc_free has to be called under lock

nfc_nfc_free unlink clients from the device list
and has to be called under mei mutex

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Reviewed-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/nfc.c