Return-path: Received: from zimbra.real-time.com ([63.170.91.9]:37433 "EHLO zimbra.real-time.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753812AbaGAG5w (ORCPT ); Tue, 1 Jul 2014 02:57:52 -0400 Date: Tue, 1 Jul 2014 16:57:21 +1000 From: James Cameron To: Bing Zhao Cc: Daniel Mack , Tony Lindgren , Andreas Fenkart , Ulf Hansson , "linux-wireless@vger.kernel.org" , linux-mmc , "devicetree@vger.kernel.org" Subject: Re: mwifiex card reset Message-ID: <20140701065721.GM24891@us.netrek.org> (sfid-20140701_085757_261713_E9AFC4B2) References: <20140628052220.GG10407@us.netrek.org> <20140628072322.GC7410@atomide.com> <20140630061912.GA2461@atomide.com> <53B1BAC1.3090902@zonque.org> <477F20668A386D41ADCC57781B1F70430FE5F37540@SC-VEXCH1.marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <477F20668A386D41ADCC57781B1F70430FE5F37540@SC-VEXCH1.marvell.com> Sender: linux-wireless-owner@vger.kernel.org List-ID: On Mon, Jun 30, 2014 at 11:44:29PM -0700, Bing Zhao wrote: > I may have missed something, but doesn't the MMC_POWER_OFF and > MMC_POWER_ON|UP handling in controller driver help? > Anyway the clocks/GPIOs/regulators are sort of platform > dependent. Would it be better putting it in /arch/arm/mach-xxxxx/? Wouldn't device tree for mmc be better? -- James Cameron http://quozl.linux.org.au/