aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorGuenter Roeck <[email protected]>2013-11-22 09:26:01 -0800
committerChanwoo Choi <[email protected]>2014-01-07 11:54:26 +0900
commit4288d9b8edcec7289e00eecdad44f14c9ea1ba0e (patch)
treea05384e4e756a1c1bd49de99fea6b1d75a883061 /scripts/gdb/linux/modules.py
parent319e2e3f63c348a9b66db4667efa73178e18b17d (diff)
extcon: gpio: Request gpio pin before modifying its state
Commit 338de0ca (extcon: gpio: Use gpio driver/chip debounce if supported) introduced a call to gpio_set_debounce() before actually requesting the respective gpio pin from the gpio subsystem. The gpio subsystem expects that a gpio pin was requested before modifying its state. Not doing so results in a warning from gpiolib, and the gpio pin is auto-requested. This in turn causes the subsequent devm_gpio_request_one() to fail. So devm_gpio_request_one() must be called prior to calling gpio_set_debounce(). Signed-off-by: Guenter Roeck <[email protected]> Acked-by: MyungJoo Ham <[email protected]> Signed-off-by: Chanwoo Choi <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions