NFC: mei_phy: Register event callback when enabling the device
authorSamuel Ortiz <sameo@linux.intel.com>
Tue, 30 Apr 2013 21:48:50 +0000 (23:48 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 21 May 2013 08:48:40 +0000 (10:48 +0200)
commit73f3adb9b91efac04e4e7f8379a85400fc57121e
tree2b11e413e51aae905d2853a177f804cfff07c4cc
parentd999e4db0ac409c582cb15e6b120241ed9105064
NFC: mei_phy: Register event callback when enabling the device

The callback registration starts a waiting read, so it needs to be fired
everytime the device is enabled. Otherwise following writes will never get
an answer back.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/mei_phy.c
drivers/nfc/microread/mei.c
drivers/nfc/pn544/mei.c