From patchwork Tue Nov 30 21:59:53 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ohad Ben Cohen X-Patchwork-Id: 368891 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oAUM8XOk013332 for ; Tue, 30 Nov 2010 22:08:33 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752545Ab0K3WIb (ORCPT ); Tue, 30 Nov 2010 17:08:31 -0500 Received: from mail-iw0-f174.google.com ([209.85.214.174]:60415 "EHLO mail-iw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752400Ab0K3WIa convert rfc822-to-8bit (ORCPT ); Tue, 30 Nov 2010 17:08:30 -0500 Received: by iwn10 with SMTP id 10so260738iwn.19 for ; Tue, 30 Nov 2010 14:08:29 -0800 (PST) Received: by 10.231.17.136 with SMTP id s8mr7946204iba.198.1291154413440; Tue, 30 Nov 2010 14:00:13 -0800 (PST) MIME-Version: 1.0 Received: by 10.231.205.37 with HTTP; Tue, 30 Nov 2010 13:59:53 -0800 (PST) X-Originating-IP: [192.91.75.238] In-Reply-To: References: From: Ohad Ben-Cohen Date: Tue, 30 Nov 2010 13:59:53 -0800 Message-ID: Subject: Re: wl1271: power down/up sequence To: Joerie de Gram Cc: linux-wireless@vger.kernel.org Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Tue, 30 Nov 2010 22:08:34 +0000 (UTC) diff --git a/drivers/regulator/fixed.c b/drivers/regulator/fixed.c index 2fe9d99..6476137 100644 --- a/drivers/regulator/fixed.c +++ b/drivers/regulator/fixed.c @@ -49,6 +49,7 @@ static int fixed_voltage_enable(struct regulator_dev *dev) struct fixed_voltage_data *data = rdev_get_drvdata(dev); if (gpio_is_valid(data->gpio)) { + pr_info("%s %d\n", __func__, data->gpio); gpio_set_value_cansleep(data->gpio, data->enable_high); data->is_enabled = true; } @@ -61,6 +62,7 @@ static int fixed_voltage_disable(struct regulator_dev *dev) struct fixed_voltage_data *data = rdev_get_drvdata(dev); if (gpio_is_valid(data->gpio)) { + pr_info("%s %d\n", __func__, data->gpio); gpio_set_value_cansleep(data->gpio, !data->enable_high); data->is_enabled = false; }