Return-path: Received: from server19320154104.serverpool.info ([193.201.54.104]:51427 "EHLO hauke-m.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752834Ab2KSW6j (ORCPT ); Mon, 19 Nov 2012 17:58:39 -0500 From: Hauke Mehrtens To: john@phrozen.org, ralf@linux-mips.org Cc: linux-mips@linux-mips.org, linux-wireless@vger.kernel.org, florian@openwrt.org, zajec5@gmail.com, m@bues.ch, Hauke Mehrtens Subject: [PATCH 3/8] bcma: add comment to bcma_chipco_gpio_control Date: Mon, 19 Nov 2012 23:57:52 +0100 Message-Id: <1353365877-11131-4-git-send-email-hauke@hauke-m.de> (sfid-20121119_235841_794812_F1B39B81) In-Reply-To: <1353365877-11131-1-git-send-email-hauke@hauke-m.de> References: <1353365877-11131-1-git-send-email-hauke@hauke-m.de> Sender: linux-wireless-owner@vger.kernel.org List-ID: Add description to the function. Signed-off-by: Hauke Mehrtens --- 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 f3c736a..67a1c6b 100644 --- a/drivers/bcma/driver_chipcommon.c +++ b/drivers/bcma/driver_chipcommon.c @@ -115,6 +115,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