Re: [PATCH v2] mmc: core: Fix select power class after resume

2013-04-29 Thread Girish K S
Hi, On 23 April 2013 19:57, Fredrik Soderstedt wrote: > > Use the saved values in card->ext_csd when selecting power class. > By doing this the power class will be selected even if mmc_init_card > is called with oldcard != NULL, which is the case after a suspend/resume. > > Today ext_csd is NULL

[PATCH v6] mmc: block: Add write packing control

2013-04-29 Thread Maya Erez
The write packing control will ensure that read requests latency is not increased due to long write packed commands. The trigger for enabling the write packing is calculated by the relation between the number of potential packed write requests and the mean value of all previous potential values: I

Re: [PATCH V3 2/4] mmc: core: Add bus_ops for runtime pm callbacks

2013-04-29 Thread Ulf Hansson
On 29 April 2013 09:54, Adrian Hunter wrote: > On 26/04/13 16:11, Adrian Hunter wrote: >> On 16/04/13 13:00, Ulf Hansson wrote: >>> From: Ulf Hansson >>> >>> SDIO is the only protocol that uses runtime pm for the card device >>> right now. To provide the option for sd and mmc to use runtime pm as

Re: [PATCH v3 1/6] at_hdmac: move to generic DMA binding

2013-04-29 Thread Nicolas Ferre
On 04/23/2013 05:44 AM, Vinod Koul : > On Mon, Apr 22, 2013 at 12:22:32PM +0200, Nicolas Ferre wrote: >> On 04/19/2013 11:11 AM, ludovic.desroc...@atmel.com : >>> From: Ludovic Desroches > >>> +#ifdef CONFIG_OF >>> +static bool at_dma_filter(struct dma_chan *chan, void *slave) > this is not defin

[PATCH V2] mmc: atmel-mci: add CONFIG_PM_SLEEP to suspend/resume functions

2013-04-29 Thread Jingoo Han
Add CONFIG_PM_SLEEP to suspend/resume functions to fix the following build warning when CONFIG_PM_SLEEP is not selected. This is because sleep PM callbacks defined by SIMPLE_DEV_PM_OPS are only used when the CONFIG_PM_SLEEP is enabled. drivers/mmc/host/atmel-mci.c:2509:12: warning: 'atmci_suspend'

Re: [PATCH V3 2/4] mmc: core: Add bus_ops for runtime pm callbacks

2013-04-29 Thread Adrian Hunter
On 26/04/13 16:11, Adrian Hunter wrote: > On 16/04/13 13:00, Ulf Hansson wrote: >> From: Ulf Hansson >> >> SDIO is the only protocol that uses runtime pm for the card device >> right now. To provide the option for sd and mmc to use runtime pm as >> well the bus_ops callback are extended with two n