mei: nfc: Implement MEI bus ops
authorSamuel Ortiz <sameo@linux.intel.com>
Thu, 11 Apr 2013 01:03:31 +0000 (03:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Apr 2013 01:56:53 +0000 (18:56 -0700)
commit36eda94fcf936ccee5a8693af7738174a56be898
tree6cd7461b249a575077922f5d00fe85d1015c8a7e
parent91a6b95f20e338ef63e55422b1f037665fc6440a
mei: nfc: Implement MEI bus ops

The send ops for NFC builds the command header, updates the request id
and then waits for an ACK.
The recv ops check if it receives data or an ACK and in the latter case
wakes the send ops up.
The enable ops sends the NFC HECI connect command.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/nfc.c