]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: trf7970a: Add 'autosuspend-delay' DTS property
authorMark A. Greer <mgreer@animalcreek.com>
Tue, 25 Mar 2014 15:54:40 +0000 (08:54 -0700)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 21 Apr 2014 22:37:28 +0000 (00:37 +0200)
commit4cbab4530b0292b51d2b3c31de15419706798a36
tree8a27b77b32be6504a12dc610c611976ecf0af2dc
parent3bf2cfe3c8976026f6cd4eff40b46e7a1edff6bd
NFC: trf7970a: Add 'autosuspend-delay' DTS property

The trf7970a driver currently uses a fixed autosuspend delay of 30 seconds.
To enable users to customize the delay as they see fit, add support for the
new 'autosuspend-delay' DTS property (part of the nfc node) which can
override the default 30 seconds.

Signed-off-by: Mark A. Greer <mgreer@animalcreek.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/trf7970a.c