OSDN Git Service

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)
commit75dda421a31dc614b8b6502cafd3825e2c72ccf0
treee37ff146bf4f97c2fecc74ac52761da0fbad2b31
parent3b060532621ef52e9e58c7596868c2570229a47b
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