diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2012-11-20 17:24:29 -0500 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2012-11-21 15:55:51 -0500 |
commit | 3e8bb507edfb44dfb8b0e06574826e34a8f6291d (patch) | |
tree | b11fe4f890b2930ed7860a269f8c4f43185e7688 /drivers/bcma | |
parent | ea3488f4696fe22811eb19bee7088b732d3f8fe0 (diff) |
bcma: add comment to bcma_chipco_gpio_control
Add description to the function.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Patchwork: http://patchwork.linux-mips.org/patch/4588
Acked-by: Florian Fainelli <florian@openwrt.org>
Diffstat (limited to 'drivers/bcma')
-rw-r--r-- | drivers/bcma/driver_chipcommon.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/bcma/driver_chipcommon.c b/drivers/bcma/driver_chipcommon.c index 0945383c2271..994fce65f77d 100644 --- a/drivers/bcma/driver_chipcommon.c +++ b/drivers/bcma/driver_chipcommon.c | |||
@@ -108,6 +108,10 @@ u32 bcma_chipco_gpio_outen(struct bcma_drv_cc *cc, u32 mask, u32 value) | |||
108 | return res; | 108 | return res; |
109 | } | 109 | } |
110 | 110 | ||
111 | /* | ||
112 | * If the bit is set to 0, chipcommon controlls this GPIO, | ||
113 | * if the bit is set to 1, it is used by some part of the chip and not our code. | ||
114 | */ | ||
111 | u32 bcma_chipco_gpio_control(struct bcma_drv_cc *cc, u32 mask, u32 value) | 115 | u32 bcma_chipco_gpio_control(struct bcma_drv_cc *cc, u32 mask, u32 value) |
112 | { | 116 | { |
113 | unsigned long flags; | 117 | unsigned long flags; |