]> 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)
commit79dd17764b3a5defaaae02833783fdda8c657d88
treee37ff146bf4f97c2fecc74ac52761da0fbad2b31
parent16fceec57b46a26840b62df2df3720cfd3e6a1e2
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