You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/target/linux/atheros/patches-3.10
Gabor Juhos 8daeba6d47 atheros: fix kernel warning about usage of reset gpio
During a reset the gpiolib warns about using the reset gpio
without explicit requesting it before:

[  147.930000] ------------[ cut here ]------------
[  147.930000] WARNING: at drivers/gpio/gpiolib.c:103 gpio_ensure_requested+0x68/0xcc()
[  147.930000] autorequest GPIO-5
[  147.930000] Modules linked in: ath5k ath mac80211 ipv6 cfg80211 compat arc4 crypto_blkcipher aead gpio_button_hotplug
[  147.930000] Call Trace:
[  147.930000] [<8004e3bc>] dump_stack+0x8/0x34
[  147.930000] [<80058430>] warn_slowpath_common+0x78/0xa4
[  147.930000] [<800584e4>] warn_slowpath_fmt+0x2c/0x38
[  147.930000] [<80166f18>] gpio_ensure_requested+0x68/0xcc
[  147.930000] [<80167264>] gpio_direction_output+0xdc/0x168
[  147.930000] [<8004aba8>] ar2315_restart+0x28/0x54
[  147.930000] [<80069778>] sys_reboot+0x178/0x1c0
[  147.930000] [<80043670>] stack_done+0x20/0x40
[  147.930000]
[  147.930000] ---[ end trace 2c7a53d8549562d6 ]---

This is fixed with this patch by using another gpiolib api call
which includes the missing request.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38183
11 years ago
..
001-get_c0_compare_int_fix.patch kernel: update 3.10 to 3.10.3 11 years ago
100-board.patch atheros: fix kernel warning about usage of reset gpio 11 years ago
101-early-printk-support.patch kernel: update 3.10 to 3.10.9 11 years ago
105-ar2315_pci.patch linux/atheros: add 3.10 kernel support 11 years ago
110-ar2313_ethernet.patch linux/atheros: add 3.10 kernel support 11 years ago
120-spiflash.patch kernel: update 3.10 to 3.10.3 11 years ago
130-watchdog.patch kernel/3.10: refresh all target patches 11 years ago
140-redboot_boardconfig.patch linux/atheros: add 3.10 kernel support 11 years ago
141-redboot_partition_scan.patch linux/atheros: add 3.10 kernel support 11 years ago
142-redboot_various_erase_size_fix.patch linux/atheros: add 3.10 kernel support 11 years ago
210-reset_button.patch linux/atheros: add 3.10 kernel support 11 years ago
220-enet_micrel_workaround.patch linux/atheros: add 3.10 kernel support 11 years ago
230-3_10-updates.patch kernel: update 3.10 to 3.10.3 11 years ago