]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: PN544: GPIO access that may sleep
authorRobert Dolca <robert.dolca@intel.com>
Mon, 26 Jan 2015 11:13:36 +0000 (13:13 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 27 Jan 2015 23:16:23 +0000 (00:16 +0100)
commit9f128c971b46a29ba9ed3a2b9956379d8715abcd
treee37ff146bf4f97c2fecc74ac52761da0fbad2b31
parentd17b0531e6edf29e0010dafa8a76de29d06f5235
NFC: PN544: GPIO access that may sleep

gpio_set_value was replaced with gpio_set_value_cansleep in order
to allow GPIO access that may sleep. This is particularelly useful
when GPIO is accessed using busses like I2C, SPI, USB

Signed-off-by: Robert Dolca <robert.dolca@intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/pn544/i2c.c