From patchwork Thu Nov 11 21:55:57 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Gardiner X-Patchwork-Id: 318312 Received: from arroyo.ext.ti.com (arroyo.ext.ti.com [192.94.94.40]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oABLuFDm001788 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 11 Nov 2010 21:56:44 GMT Received: from dlep33.itg.ti.com ([157.170.170.112]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id oABLu9r2016669 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 11 Nov 2010 15:56:12 -0600 Received: from linux.omap.com (localhost [127.0.0.1]) by dlep33.itg.ti.com (8.13.7/8.13.7) with ESMTP id oABLu9b2017593 for ; Thu, 11 Nov 2010 15:56:09 -0600 (CST) Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id D565780654 for ; Thu, 11 Nov 2010 15:56:07 -0600 (CST) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dflp51.itg.ti.com (dflp51.itg.ti.com [128.247.22.94]) by linux.omap.com (Postfix) with ESMTP id E9F8C80626 for ; Thu, 11 Nov 2010 15:56:01 -0600 (CST) Received: from red.ext.ti.com (localhost [127.0.0.1]) by dflp51.itg.ti.com (8.13.7/8.13.7) with ESMTP id oABLu1Wg002077 for ; Thu, 11 Nov 2010 15:56:01 -0600 (CST) Received: from psmtp.com (na3sys009amx201.postini.com [74.125.149.41]) by red.ext.ti.com (8.13.7/8.13.7) with SMTP id oABLu0fS014116 for ; Thu, 11 Nov 2010 15:56:01 -0600 Received: from source ([74.125.149.73]) by na3sys009amx201.postini.com ([74.125.148.10]) with SMTP; Thu, 11 Nov 2010 13:56:01 PST Received: from source ([209.85.212.48]) by na3sys009aob104.postini.com ([74.125.148.12]) with SMTP ID DSNKTNxmcKeNL7nKucTEyJClMSw6KHWe1K5f@postini.com; Thu, 11 Nov 2010 13:56:01 PST Received: by vws16 with SMTP id 16so676301vws.21 for ; Thu, 11 Nov 2010 13:56:00 -0800 (PST) Received: by 10.220.191.137 with SMTP id dm9mr305709vcb.277.1289512560015; Thu, 11 Nov 2010 13:56:00 -0800 (PST) Received: from localhost.localdomain ([206.191.47.130]) by mx.google.com with ESMTPS id e18sm733687vcf.36.2010.11.11.13.55.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 11 Nov 2010 13:55:59 -0800 (PST) From: Ben Gardiner To: davinci-linux-open-source@linux.davincidsp.com Subject: [PATCH] [PATCH] da850-evm: fix WARN_ON(chip->can_sleep) for rmii_sel Date: Thu, 11 Nov 2010 16:55:57 -0500 Message-Id: <1289512557-28963-1-git-send-email-bengardiner@nanometrics.ca> X-Mailer: git-send-email 1.7.0.4 X-pstn-neptune: 0/0/0.00/0 X-pstn-levels: (S:48.16122/99.90000 CV:99.9000 FC:95.5390 LC:95.5390 R:95.9108 P:95.9108 M:97.0282 C:98.6951 ) X-pstn-settings: 2 (0.5000:0.0750) s cv GT3 gt2 gt1 r p m c X-pstn-addresses: from [db-null] X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: davinci-linux-open-source-bounces+patchwork-davinci=patchwork.kernel.org@linux.davincidsp.com Errors-To: davinci-linux-open-source-bounces+patchwork-davinci=patchwork.kernel.org@linux.davincidsp.com X-Greylist: Sender succeeded STARTTLS authentication, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Thu, 11 Nov 2010 21:56:44 +0000 (UTC) diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c index c6e11c6..e8e54ff 100644 --- a/arch/arm/mach-davinci/board-da850-evm.c +++ b/arch/arm/mach-davinci/board-da850-evm.c @@ -266,7 +266,7 @@ static inline void da850_evm_setup_emac_rmii(int rmii_sel) struct davinci_soc_info *soc_info = &davinci_soc_info; soc_info->emac_pdata->rmii_en = 1; - gpio_set_value(rmii_sel, 0); + gpio_set_value_cansleep(rmii_sel, 0); } #else static inline void da850_evm_setup_emac_rmii(int rmii_sel) { }