]> git.baikalelectronics.ru Git - kernel.git/commit
ssb: add locking around gpio register accesses
authorHauke Mehrtens <hauke@hauke-m.de>
Tue, 20 Nov 2012 22:24:32 +0000 (22:24 +0000)
committerJohn Crispin <blogic@openwrt.org>
Wed, 21 Nov 2012 20:55:52 +0000 (21:55 +0100)
commitef9e24f660c4ba98d12d041753076eaf09a4b12f
tree64cb52592aab0fb2f392560fb99d8d61caa81f4a
parentdcb4f4f42589595331256ce2c05b1e28a261b053
ssb: add locking around gpio register accesses

The GPIOs are access through some registers in the chip common core or
over extif. We need locking around these GPIO accesses, all GPIOs are
accessed through the same registers and parallel writes will cause
problems.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Patchwork: http://patchwork.linux-mips.org/patch/4590
Acked-by: Florian Fainelli <florian@openwrt.org>
drivers/ssb/driver_chipcommon.c
drivers/ssb/driver_extif.c
drivers/ssb/main.c
drivers/ssb/ssb_private.h
include/linux/ssb/ssb_driver_chipcommon.h
include/linux/ssb/ssb_driver_extif.h