]> git.karo-electronics.de Git - linux-beck.git/commit
NFC: pn533: Fix the pn533 polling loop
authorSamuel Ortiz <sameo@linux.intel.com>
Wed, 26 Jun 2013 16:16:21 +0000 (18:16 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 13 Aug 2013 22:35:17 +0000 (00:35 +0200)
commit17e9d9d437d1bb52077e562fae9457236dbaa76f
tree76af676423bbfb4873949ef9ffc911ed6c3093c8
parentf1abed171fa565448d229afb814f66ab6d104d44
NFC: pn533: Fix the pn533 polling loop

By turning the radio off after each failed polling try, we dramatically
improve the pn533 polling loop efficiency.
Without this fix, all Android phones running the broadcom NFC stack are
almost never detected.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/pn533.c