summaryrefslogtreecommitdiffstats
path: root/lib/lcm.c
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2016-12-18 15:25:33 -0800
committerMarcel Holtmann <marcel@holtmann.org>2017-01-12 22:12:43 +0100
commitf301606934b240fb54d8edf3618a0483e36046fc (patch)
tree309ef0ab5a735b9eb8ed6a66b3386b84e448298b /lib/lcm.c
parent5eb35a6ccea61648a55713c076ab65423eea1ac0 (diff)
downloadlinux-f301606934b240fb54d8edf3618a0483e36046fc.tar.bz2
at86rf230: Allow slow GPIO pins for "rstn"
Driver code never touches "rstn" signal in atomic context, so there's no need to implicitly put such restriction on it by using gpio_set_value to manipulate it. Replace gpio_set_value to gpio_set_value_cansleep to fix that. As a an example of where such restriction might be inconvenient, consider a hardware design where "rstn" is connected to a pin of I2C/SPI GPIO expander chip. Cc: Chris Healy <cphealy@gmail.com> Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Stefan Schmidt <stefan@osg.samsung.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'lib/lcm.c')
0 files changed, 0 insertions, 0 deletions