diff options
author | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-08-01 14:31:28 +0000 |
---|---|---|
committer | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-08-01 14:31:28 +0000 |
commit | 00759f796b5f80dbeee615d2f16f9fa4e63b3161 (patch) | |
tree | bf79add640f14f7caec26d9eb8382f45689e1777 /target/linux/generic/patches-3.8/620-sched_esfq.patch | |
parent | 613957d8eb8f01b9aff2a4a0660031bedb026a28 (diff) |
gpio-button-hotplug: use gpio_button_get_value() to initialize last_state.
TL-WR720N-v3 has a slider switch composed of 2 GPIO buttons which can be
used to swtich between 3 positions. At leat 1 button is in pressed state
in any of those positions. Initialize 'last_state' as 0 (released) will
cause the device to automatically enter failsafe mode on every bootup.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37643 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-3.8/620-sched_esfq.patch')
0 files changed, 0 insertions, 0 deletions