bcma: add comment to bcma_chipco_gpio_control
authorHauke Mehrtens <hauke@hauke-m.de>
Tue, 20 Nov 2012 22:24:29 +0000 (22:24 +0000)
committerJohn Crispin <blogic@openwrt.org>
Wed, 21 Nov 2012 20:55:51 +0000 (21:55 +0100)
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>
drivers/bcma/driver_chipcommon.c

index 0945383c22719add3cddaa675c24a79c447cb6ec..994fce65f77d8b4baeecceb15435bd0a8be242e5 100644 (file)
@@ -108,6 +108,10 @@ u32 bcma_chipco_gpio_outen(struct bcma_drv_cc *cc, u32 mask, u32 value)
        return res;
 }
 
+/*
+ * If the bit is set to 0, chipcommon controlls this GPIO,
+ * if the bit is set to 1, it is used by some part of the chip and not our code.
+ */
 u32 bcma_chipco_gpio_control(struct bcma_drv_cc *cc, u32 mask, u32 value)
 {
        unsigned long flags;
This page took 0.025103 seconds and 5 git commands to generate.