]> git.baikalelectronics.ru Git - kernel.git/commit
bcma: add locking around GPIO register accesses
authorHauke Mehrtens <hauke@hauke-m.de>
Tue, 20 Nov 2012 22:24:27 +0000 (22:24 +0000)
committerJohn Crispin <blogic@openwrt.org>
Wed, 21 Nov 2012 20:55:51 +0000 (21:55 +0100)
commit94176c7fb211cde48b80109fc5cc0ee8daae1913
treeb644911eafc8f3d0d59fcdbceac556c9f9567f94
parentce4a027c74dc9d14643e7e24e1562c26c174d38f
bcma: add locking around GPIO register accesses

The GPIOs are access through some registers in the chip common core.
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/4585
Acked-by: Florian Fainelli <florian@openwrt.org>
drivers/bcma/driver_chipcommon.c
include/linux/bcma/bcma_driver_chipcommon.h