linux/drivers/nfc
Johan Hovold 45dd39b974 NFC: nfcmrvl: fix firmware-management initialisation
The nci-device was never deregistered in the event that
fw-initialisation failed.

Fix this by moving the firmware initialisation before device
registration since the firmware work queue should be available before
registering.

Note that this depends on a recent fix that moved device-name
initialisation back to to nci_allocate_device() as the
firmware-workqueue name is now derived from the nfc-device name.

Fixes: 3194c68701 ("NFC: nfcmrvl: add firmware download support")
Cc: stable <stable@vger.kernel.org>     # 4.4
Cc: Vincent Cuissard <cuissard@marvell.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2017-06-18 23:57:59 +02:00
..
fdp networking: add and use skb_put_u8() 2017-06-16 11:48:40 -04:00
microread networking: add and use skb_put_u8() 2017-06-16 11:48:40 -04:00
nfcmrvl NFC: nfcmrvl: fix firmware-management initialisation 2017-06-18 23:57:59 +02:00
nxp-nci networking: make skb_pull & friends return void pointers 2017-06-16 11:48:39 -04:00
pn533 networking: add and use skb_put_u8() 2017-06-16 11:48:40 -04:00
pn544 networking: add and use skb_put_u8() 2017-06-16 11:48:40 -04:00
s3fwrn5 networking: introduce and use skb_put_data() 2017-06-16 11:48:37 -04:00
st21nfca networking: add and use skb_put_u8() 2017-06-16 11:48:40 -04:00
st95hf networking: add and use skb_put_u8() 2017-06-16 11:48:40 -04:00
st-nci networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
Kconfig NFC: trf7970a: Convert to descriptor based GPIO interface 2017-06-18 23:57:58 +02:00
Makefile NFC: remove TI nfcwilink driver 2017-04-01 23:04:30 +02:00
mei_phy.c mei: bus: split RX and async notification callbacks 2016-11-17 16:37:49 +01:00
mei_phy.h mei: bus: complete variable rename of type struct mei_cl_device 2015-09-20 19:31:09 -07:00
nfcsim.c NFC: nfcsim: Simulate lost frames through debugfs entry 2016-07-19 23:24:49 +02:00
port100.c networking: add and use skb_put_u8() 2017-06-16 11:48:40 -04:00
trf7970a.c NFC: trf7970a: Clean up coding style issues 2017-06-18 23:57:58 +02:00