linux/drivers/nfc
Mark A. Greer ceccd6aa50 NFC: trf7970a: Don't assume CONFIG_PM_RUNTIME is enabled
The current code assumes that CONFIG_PM_RUNTIME
is always defined so it won't power up the trf7970a
when it isn't enabled.  Fix this by moving the power
up/down code from the pm_runtime_resume/suspend
routines into their own routines and calling the
power up function from the probe routine.  This
ensures the device is powered up even when
CONFIG_PM_RUNTIME is not defined.

In order to not power on/off a device that is
already powered on/off, create a new state to
indicate that the power is off (TRF7970A_ST_PWR_OFF).

Signed-off-by: Mark A. Greer <mgreer@animalcreek.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2014-09-07 23:13:44 +02:00
..
microread nfc: Fix FSF address in file headers 2013-12-11 10:56:21 -05:00
nfcmrvl NFC: nfcmrvl: Fix possible memory leak issue 2014-01-09 01:27:20 +01:00
pn544 NFC: pn544_i2c: Fix null pointer exception when not using platform data 2014-04-22 00:37:29 +02:00
st21nfca NFC: st21nfca: Adding P2P support to st21nfca in Initiator & Target mode 2014-07-23 01:14:41 +02:00
st21nfcb NFC: st21nfcb: few code clean up 2014-07-23 00:49:37 +02:00
Kconfig NFC: st21nfcb: Add driver for STMicroelectronics ST21NFCB NFC chip 2014-07-23 00:49:28 +02:00
Makefile NFC: st21nfcb: Add driver for STMicroelectronics ST21NFCB NFC chip 2014-07-23 00:49:28 +02:00
mei_phy.c NFC: mei_phy: Using kfree_skb() instead of kfree() 2014-01-04 03:32:26 +01:00
mei_phy.h NFC: mei: Add a common mei bus API for NFC drivers 2013-04-16 00:39:31 +02:00
nfcsim.c NFC: Convert nfc_dev_info and nfc_dev_err to nfc_<level> 2013-09-25 01:35:39 +02:00
nfcwilink.c nfc: Fix FSF address in file headers 2013-12-11 10:56:21 -05:00
pn533.c NFC: pn533: Convert to use USB_DEVICE macro 2014-02-23 23:32:18 +01:00
port100.c NFC: port100: Add support for type 4B tag 2014-05-26 00:42:02 +02:00
trf7970a.c NFC: trf7970a: Don't assume CONFIG_PM_RUNTIME is enabled 2014-09-07 23:13:44 +02:00