NFC: Specify usage for targets found and target lost events
authorEric Lapuyade <eric.lapuyade@intel.com>
Mon, 7 May 2012 10:31:15 +0000 (12:31 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 15 May 2012 21:28:00 +0000 (17:28 -0400)
commitd4ccb132801aeeb2cfd18c4b4b7fa0043ab37f80
tree7f3372d3925e5cb69cb5db5867accee4d17ff9b8
parentaddfabf98daad7b469ad788a622dbeab6aaaa330
NFC: Specify usage for targets found and target lost events

It is now specified that nfc_target_found() and nfc_target_lost() core
functions must not be called from an atomic context. This allow us to
serialize calls and protect the targets table using the nfc device lock
instead of a spinlock.

Signed-off-by: Eric Lapuyade <eric.lapuyade@intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/nfc/nfc.h
net/nfc/core.c
net/nfc/netlink.c
This page took 0.026717 seconds and 5 git commands to generate.