| To: | john@phrozen.org, ralf@linux-mips.org |
|---|---|
| Subject: | [PATCH v3s 3/8] bcma: add comment to bcma_chipco_gpio_control |
| From: | Hauke Mehrtens <hauke@hauke-m.de> |
| Date: | Wed, 21 Nov 2012 00:24:29 +0100 |
| Cc: | linux-mips@linux-mips.org, linux-wireless@vger.kernel.org, florian@openwrt.org, zajec5@gmail.com, m@bues.ch, Hauke Mehrtens <hauke@hauke-m.de> |
| In-reply-to: | <1353453874-523-1-git-send-email-hauke@hauke-m.de> |
| List-archive: | <http://www.linux-mips.org/archives/linux-mips/> |
| List-help: | <mailto:ecartis@linux-mips.org?Subject=help> |
| List-id: | linux-mips <linux-mips.eddie.linux-mips.org> |
| List-owner: | <mailto:ralf@linux-mips.org> |
| List-post: | <mailto:linux-mips@linux-mips.org> |
| List-software: | Ecartis version 1.0.0 |
| List-subscribe: | <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips> |
| List-unsubscribe: | <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips> |
| References: | <1353453874-523-1-git-send-email-hauke@hauke-m.de> |
| Sender: | linux-mips-bounce@linux-mips.org |
Add description to the function.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
---
drivers/bcma/driver_chipcommon.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/bcma/driver_chipcommon.c b/drivers/bcma/driver_chipcommon.c
index 0945383..994fce6 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)
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;
--
1.7.10.4
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH v3 4/8] bcma: add GPIO driver, Hauke Mehrtens |
|---|---|
| Next by Date: | [PATCH v3 5/8] ssb: add ssb_chipco_gpio_pull{up,down}, Hauke Mehrtens |
| Previous by Thread: | [PATCH v3 4/8] bcma: add GPIO driver, Hauke Mehrtens |
| Next by Thread: | [PATCH v3 5/8] ssb: add ssb_chipco_gpio_pull{up,down}, Hauke Mehrtens |
| Indexes: | [Date] [Thread] [Top] [All Lists] |