]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
NFC: st21nfcb: Fix st21nfcb_nci_close
authorChristophe Ricard <christophe.ricard@gmail.com>
Sat, 6 Jun 2015 11:16:46 +0000 (13:16 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 8 Jun 2015 22:34:23 +0000 (00:34 +0200)
commitcc1417eb24f154ed7a7cd8aa7018b80fa120b732
treefeb2acf89ab32bc8b08533193636f8f27a498d47
parent6628b09f03dfbe2d3d234f1c6e5dff8752182be0
NFC: st21nfcb: Fix st21nfcb_nci_close

When closing st21nfcb driver, flag ST21NFCB_NCI_RUNNING can be cleared
only once the ndlc and the transport (i2c or spi) layers are released.

Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/st21nfcb/st21nfcb.c