openwrtv4/target/linux
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
2013-09-25 17:51:12 +00:00
..
adm5120 targets: fix remaining targets for initramfs builds 2013-06-28 22:56:34 +00:00
adm8668 targets: prepare for supporting normal and initramfs images 2013-06-27 19:58:31 +00:00
amazon target: don't build jffs2 nor images by default 2013-06-05 20:58:59 +00:00
ar7 kernel: update 3.9 to 3.9.11 2013-07-22 15:30:56 +00:00
ar71xx kernel/3.10: refresh all target patches 2013-09-25 17:13:24 +00:00
at91 build: unify target independent optimization options 2013-07-29 09:38:29 +00:00
atheros atheros: fix kernel warning about usage of reset gpio 2013-09-25 17:51:12 +00:00
au1000 targets: prepare for supporting normal and initramfs images 2013-06-27 19:58:31 +00:00
avr32 avr32: remove 3.8 support 2013-09-25 13:34:52 +00:00
bcm53xx kernel: update 3.10 to 3.10.12 2013-09-15 16:00:41 +00:00
brcm47xx brcm47xx: b44: bgmac: some small changes to the phylib patches 2013-09-18 16:49:52 +00:00
brcm63xx kernel: update 3.10 to 3.10.12 2013-09-15 16:00:41 +00:00
brcm2708 kernel: update 3.10 to 3.10.12 2013-09-15 16:00:41 +00:00
cns3xxx build: unify target independent optimization options 2013-07-29 09:38:29 +00:00
cns21xx kernel: update 3.10 to 3.10.12 2013-09-15 16:00:41 +00:00
cobalt build: unify target independent optimization options 2013-07-29 09:38:29 +00:00
ep93xx kernel: do not build FW_LOADER as a module. 2013-08-04 09:41:10 +00:00
gemini build: unify target independent optimization options 2013-07-29 09:38:29 +00:00
generic kernel/3.10: add upstream commit id to the backported hso patches 2013-09-25 14:38:57 +00:00
imx6 kernel/3.10: refresh all target patches 2013-09-25 17:13:24 +00:00
imx23 kernel: update 3.10 to 3.10.12 2013-09-15 16:00:41 +00:00
iop32x targets: prepare for supporting normal and initramfs images 2013-06-27 19:58:31 +00:00
ixp4xx kernel: update 3.10 to 3.10.12 2013-09-15 16:00:41 +00:00
kirkwood targets: prepare for supporting normal and initramfs images 2013-06-27 19:58:31 +00:00
lantiq kernel/3.10: refresh all target patches 2013-09-25 17:13:24 +00:00
malta malta: target.mk cosmetical fixup 2013-09-18 23:03:47 +00:00
mcs814x mcs814x: dlan-usb-extender: fix usbdev trigger 2013-09-02 18:25:01 +00:00
mpc52xx kernel: do not build FW_LOADER as a module. 2013-08-04 09:41:10 +00:00
mpc83xx build: unify target independent optimization options 2013-07-29 09:38:29 +00:00
mpc85xx kernel: update 3.10 to 3.10.12 2013-09-15 16:00:41 +00:00
mvebu mvebu: remove maintainer ship role 2013-08-28 16:19:59 +00:00
octeon kernel: update 3.10 to 3.10.12 2013-09-15 16:00:41 +00:00
omap4 linux: move more ARM_ERRATA symbols to the generic config 2013-07-20 07:43:54 +00:00
omap24xx build: unify target independent optimization options 2013-07-29 09:38:29 +00:00
orion build: unify target independent optimization options 2013-07-29 09:38:29 +00:00
ppc40x kernel: update 3.10 to 3.10.12 2013-09-15 16:00:41 +00:00
ppc44x ppc44x: remove 3.8 support 2013-09-24 13:17:48 +00:00
pxa targets: prepare for supporting normal and initramfs images 2013-06-27 19:58:31 +00:00
ramips kernel/3.10: refresh all target patches 2013-09-25 17:13:24 +00:00
rb532 rb532: remove 3.8 support 2013-09-24 13:17:45 +00:00
realview kernel: update 3.10 to 3.10.12 2013-09-15 16:00:41 +00:00
sibyte kernel: do not build FW_LOADER as a module. 2013-08-04 09:41:10 +00:00
sparc target: don't build jffs2 nor images by default 2013-06-05 20:58:59 +00:00
uml uml: work around mangled parameter handling for ubd 2013-09-24 13:36:42 +00:00
x86 kernel/3.10: refresh all target patches 2013-09-25 17:13:24 +00:00
xburst kernel: update 3.10 to 3.10.12 2013-09-15 16:00:41 +00:00
Makefile Add kernel_nconfig make target 2010-08-06 21:36:35 +00:00