Re: [PATCH] mmc: core: Ensure clocks are always enabled before host interaction

2012-01-30 Thread Linus Walleij
On Mon, Jan 30, 2012 at 1:48 PM, Per Forlin wrote: > It makes sense to ensure clocking in pre-req() and post-req() > implemented by this patch. > My only concern from a throughput point of view is if the clocking > adds an overhead, but AFAIK the clocking doesn't add an overhead (that > would inc

Re: [PATCH] mmc: core: Ensure clocks are always enabled before host interaction

2012-01-30 Thread Per Forlin
On Tue, Jan 24, 2012 at 4:44 AM, Sujit Reddy Thumma wrote: > Hi Linus Walleij, > > > On 12/30/2011 7:44 AM, Linus Walleij wrote: >> >> On Mon, Dec 12, 2011 at 9:21 AM, Sujit Reddy Thumma >>  wrote: >> >>> Ensure clocks are always enabled before any interaction with the >>> host controller driver.

Re: [PATCH] mmc: core: Ensure clocks are always enabled before host interaction

2012-01-23 Thread Sujit Reddy Thumma
Hi Linus Walleij, On 12/30/2011 7:44 AM, Linus Walleij wrote: On Mon, Dec 12, 2011 at 9:21 AM, Sujit Reddy Thumma wrote: Ensure clocks are always enabled before any interaction with the host controller driver. This makes sure that there is no race between host execution and the core layer tu

Re: [PATCH] mmc: core: Ensure clocks are always enabled before host interaction

2011-12-29 Thread Linus Walleij
On Mon, Dec 12, 2011 at 9:21 AM, Sujit Reddy Thumma wrote: > Ensure clocks are always enabled before any interaction with the > host controller driver. This makes sure that there is no race > between host execution and the core layer turning off clocks > in different context with clock gating fra

Re: [PATCH] mmc: core: Ensure clocks are always enabled before host interaction

2011-12-26 Thread Sujit Reddy Thumma
On 12/12/2011 2:42 PM, Subhash Jadavani wrote: -Original Message- From: linux-mmc-ow...@vger.kernel.org [mailto:linux-mmc- ow...@vger.kernel.org] On Behalf Of Sujit Reddy Thumma Sent: Monday, December 12, 2011 1:52 PM To: linux-mmc@vger.kernel.org Cc: Sujit Reddy Thumma; c...@la

RE: [PATCH] mmc: core: Ensure clocks are always enabled before host interaction

2011-12-12 Thread Subhash Jadavani
> -Original Message- > From: linux-mmc-ow...@vger.kernel.org [mailto:linux-mmc- > ow...@vger.kernel.org] On Behalf Of Sujit Reddy Thumma > Sent: Monday, December 12, 2011 1:52 PM > To: linux-mmc@vger.kernel.org > Cc: Sujit Reddy Thumma; c...@laptop.org > Subject: [PATCH] mmc: core: