NFC: st21nfcb: disable irq when st21nfcb is disabled
authorChristophe Ricard <christophe.ricard@gmail.com>
Sat, 6 Jun 2015 11:16:51 +0000 (13:16 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 8 Jun 2015 22:34:26 +0000 (00:34 +0200)
commit05f0939f76659260763d31890cb962e8d6060038
treed977a47580c15f1f0a29e36bbc1a75dd36e3ff9a
parent183fe2d06dba2f45ae47360cdb911f95551917ed
NFC: st21nfcb: disable irq when st21nfcb is disabled

When st21nfcb is disabled, the irq line may remain active
while no data are available, flooding the system with
irrelevant i2c transaction.

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