RE: [PATCH 2/4 v4] MMC/SD: Add callback function to detect card

2012-11-12 Thread Huang Changming-R66093
Hi, Anton and Chris Have you any comment about this serial patches[patch 2/3/4, except 1]? Best Regards Jerry Huang > -Original Message- > From: linux-mmc-ow...@vger.kernel.org [mailto:linux-mmc- > ow...@vger.kernel.org] On Behalf Of Huang Changming-R66093 > Sent: Tuesday, November 06, 2

RE: [PATCH V4] Powerpc eSDHC Recover from the ADMA error

2012-11-12 Thread Huang Changming-R66093
Hi, Chris, This patch has been ACKed by Anton on Sep 20. Have you any comment about it? Best Regards Jerry Huang > -Original Message- > From: Anton Vorontsov [mailto:cbouatmai...@gmail.com] > Sent: Thursday, September 20, 2012 10:57 AM > To: Zhang Haijun-B42677 > Cc: linux-mmc@vger.kern

Re: [PATCH v6 05/14] mmc: sdhci: fix null return check of regulator_get

2012-11-12 Thread Kevin Liu
Updated Haojian and Philip's mail address. 2012/11/12 Kevin Liu : > 2012/11/5 Chris Ball : >> Hi, >> >> On Wed, Oct 17 2012, Kevin Liu wrote: >>> From: Kevin Liu >>> >>> regulator_get() returns NULL when CONFIG_REGULATOR not defined, >>> which should not print out the warning. >>> >>> Reviewed-by

Re: [PATCH] mmc: hsmmc: Fix NULL pointer dereference on unload when booted with device tree

2012-11-12 Thread Tony Lindgren
* Balaji T K [121112 05:22]: > On Friday 09 November 2012 11:55 PM, Tony Lindgren wrote: > >When booting with device tree, we don't have any pdata, and will > >get the following when trying to unload omap_hsmmc: > > > >Unable to handle kernel NULL pointer dereference at virtual address 0044 >

[PATCH v3] mmc: fix async request mechanism for sequential read scenarios

2012-11-12 Thread Konstantin Dorfman
When current request is running on the bus and if next request fetched by mmcqd is NULL, mmc context (mmcqd thread) gets blocked until the current request completes. This means if new request comes in while the mmcqd thread is blocked, this new request can not be prepared in parallel to current ong

Re: [PATCH 02/10] arm: at91: move platfarm_data to include/linux/platform_data/atmel.h

2012-11-12 Thread Jean-Christophe PLAGNIOL-VILLARD
On 11:54 Sat 10 Nov , Joachim Eastwood wrote: > Hi Jean-Christophe, > > On 7 November 2012 12:22, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD > > Cc: Nicolas Ferre > > Cc: linux-...@vger.kernel.org > > Cc: linux-in...@vger.kernel.org > > Cc:

Re: [PATCH] mmc: hsmmc: Fix NULL pointer dereference on unload when booted with device tree

2012-11-12 Thread Balaji T K
On Friday 09 November 2012 11:55 PM, Tony Lindgren wrote: When booting with device tree, we don't have any pdata, and will get the following when trying to unload omap_hsmmc: Unable to handle kernel NULL pointer dereference at virtual address 0044 pgd = edafc000 *pgd=adbbd831, *pte=,

[PATCH v3 3/3] mmc: omap_hsmmc: update error code for response_busy cmd

2012-11-12 Thread Balaji T K
update error code to cmd->error for commands with response_busy and no data Signed-off-by: Balaji T K Reviewed-by: Felipe Balbi --- drivers/mmc/host/omap_hsmmc.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmm

[PATCH v3 2/3] mmc: omap_hsmmc: no reset of cmd state machine for DCRC

2012-11-12 Thread Balaji T K
Avoid soft reset of command internal state machine on data errors. Signed-off-by: Balaji T K Reviewed-by: Felipe Balbi --- drivers/mmc/host/omap_hsmmc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index

[PATCH v3 0/3] mmc: omap_hsmmc: fixes for irq error handler

2012-11-12 Thread Balaji T K
Balaji T K (3): mmc: omap_hsmmc: Fix Oops in case of data errors mmc: omap_hsmmc: no reset of cmd state machine for DCRC mmc: omap_hsmmc: update error code for response_busy cmd drivers/mmc/host/omap_hsmmc.c | 23 +++ 1 files changed, 15 insertions(+), 8 deletions(-)

[PATCH v3 1/3] mmc: omap_hsmmc: Fix Oops in case of data errors

2012-11-12 Thread Balaji T K
"commit ae4bf788ee9bf7c2d51b0309117d1fcccbdd50a2 mmc: omap_hsmmc: consolidate error report handling of HSMMC IRQ" sets both end_cmd and end_trans to 1. Setting end_cmd to 1 for Data Timeout/CRC leads to NULL pointer dereference of host->cmd as the command complete has previously been handled. Set

Re: [PATCH v2] mmc: fix async request mechanism for sequential read scenarios

2012-11-12 Thread Konstantin Dorfman
On 11/05/2012 08:20 AM, Per Förlin wrote: > Hi Konstantin, > > On 11/01/2012 03:40 PM, Konstantin Dorfman wrote: >> When current request is running on the bus and if next request fetched >> by mmcqd is NULL, mmc context (mmcqd thread) gets blocked until the >> current request completes. This means

Re: [PATCH v2] mmc: fix async request mechanism for sequential read scenarios

2012-11-12 Thread Konstantin Dorfman
Hello Jaehoon, On 11/06/2012 10:40 AM, Jaehoon Chung wrote: > Hi Konstantin, > ... >> >> @@ -1406,6 +1401,7 @@ static int mmc_blk_issue_rq(struct mmc_queue *mq, >> struct request *req) >> ret = 0; >> goto out; >> } >> +mq->flags &= ~MMC_QUEUE_NEW_REQUEST; > I

Re: [PATCH v2] mmc: fix async request mechanism for sequential read scenarios

2012-11-12 Thread Konstantin Dorfman
On 11/05/2012 09:15 AM, Jaehoon Chung wrote: Hello, > Hi Konstantin, > On 11/05/2012 03:20 PM, Per Förlin wrote: >> Hi Konstantin, >> >> On 11/01/2012 03:40 PM, Konstantin Dorfman wrote: >>> When current request is running on the bus and if next request fetched >>> by mmcqd is NULL, mmc context (mm

Re: [PATCH v6 05/14] mmc: sdhci: fix null return check of regulator_get

2012-11-12 Thread Kevin Liu
2012/11/5 Chris Ball : > Hi, > > On Wed, Oct 17 2012, Kevin Liu wrote: >> From: Kevin Liu >> >> regulator_get() returns NULL when CONFIG_REGULATOR not defined, >> which should not print out the warning. >> >> Reviewed-by: Philip Rakity >> Signed-off-by: Bin Wang >> Signed-off-by: Kevin Liu >> -