]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: Prevent polling when device is down
authorSamuel Ortiz <sameo@linux.intel.com>
Wed, 10 Apr 2013 10:25:30 +0000 (12:25 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 11 Apr 2013 14:29:10 +0000 (16:29 +0200)
commit894fa092b0c74e84da5f436801600b213dad0741
treebaf60c1117faa0c747d0330d9b9c15e031f18628
parentc7eb9780e1b00935478b0b73a048c08647428324
NFC: Prevent polling when device is down

Some devices turn radio on whenever they're asked to start a poll.
To prevent that from happening, we just don't call into the driver
start_poll hook when the NFC device is down.

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