[PATCH 2/3] mmc_test: change simple_strtol() to strict_strtol()

2010-08-31 Thread Andy Shevchenko
Signed-off-by: Andy Shevchenko --- drivers/mmc/card/mmc_test.c | 12 +++- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/mmc/card/mmc_test.c b/drivers/mmc/card/mmc_test.c index 359fae9..5423ac9 100644 --- a/drivers/mmc/card/mmc_test.c +++ b/drivers/mmc/card/mmc_t

[PATCH 3/3] mmc_test: collect data and show it via sysfs by demand

2010-08-31 Thread Andy Shevchenko
Signed-off-by: Andy Shevchenko --- drivers/mmc/card/mmc_test.c | 116 ++- 1 files changed, 114 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/card/mmc_test.c b/drivers/mmc/card/mmc_test.c index 5423ac9..3cfef37 100644 --- a/drivers/mmc/card/mmc_te

[PATCH 1/3] mmc_test: use API to check card type

2010-08-31 Thread Andy Shevchenko
Signed-off-by: Andy Shevchenko --- drivers/mmc/card/mmc_test.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mmc/card/mmc_test.c b/drivers/mmc/card/mmc_test.c index 7aaa4b2..359fae9 100644 --- a/drivers/mmc/card/mmc_test.c +++ b/drivers/mmc/card/mmc_test.c @@ -

[PATCH 0/3] mmc_test: show test results via sysfs

2010-08-31 Thread Andy Shevchenko
There is a patchset which brings possibility to get test results via sysfs. It helps to do tests non-interactively. Andy Shevchenko (3): mmc_test: use API to check card type mmc_test: change simple_strtol() to strict_strtol() mmc_test: collect data and show it via sysfs by demand drivers/m

Re: [PATCH 3/3] MMC/SD: add callback function to detect card

2010-08-31 Thread Adrian Hunter
Adrian Hunter wrote: Adrian Hunter wrote: Matt Fleming wrote: On Fri, Aug 27, 2010 at 08:05:13PM +0100, Chris Ball wrote: Hi, On Fri, Dec 04, 2009 at 03:55:09PM +0800, r66...@freescale.com wrote: From: Jerry Huang Add callback function to check if the card has been removed. in order to ch

Re: [PATCH 3/3] MMC/SD: add callback function to detect card

2010-08-31 Thread Adrian Hunter
Adrian Hunter wrote: Matt Fleming wrote: On Fri, Aug 27, 2010 at 08:05:13PM +0100, Chris Ball wrote: Hi, On Fri, Dec 04, 2009 at 03:55:09PM +0800, r66...@freescale.com wrote: From: Jerry Huang Add callback function to check if the card has been removed. in order to check if the card has be

Re: [PATCH 3/3] MMC/SD: add callback function to detect card

2010-08-31 Thread Matt Fleming
On Tue, Aug 31, 2010 at 10:23:23PM +0300, Adrian Hunter wrote: > Matt Fleming wrote: > >On Fri, Aug 27, 2010 at 08:05:13PM +0100, Chris Ball wrote: > >>Hi, > >> > >>On Fri, Dec 04, 2009 at 03:55:09PM +0800, r66...@freescale.com wrote: > >>>From: Jerry Huang > >>> > >>>Add callback function to chec

Re: [PATCH 3/3] MMC/SD: add callback function to detect card

2010-08-31 Thread Adrian Hunter
Matt Fleming wrote: On Fri, Aug 27, 2010 at 08:05:13PM +0100, Chris Ball wrote: Hi, On Fri, Dec 04, 2009 at 03:55:09PM +0800, r66...@freescale.com wrote: From: Jerry Huang Add callback function to check if the card has been removed. in order to check if the card has been removed, the functi

Re: [PATCH 3/3] MMC/SD: add callback function to detect card

2010-08-31 Thread Matt Fleming
On Fri, Aug 27, 2010 at 08:05:13PM +0100, Chris Ball wrote: > Hi, > > On Fri, Dec 04, 2009 at 03:55:09PM +0800, r66...@freescale.com wrote: > > From: Jerry Huang > > > > Add callback function to check if the card has been removed. > > > > in order to check if the card has been removed, the func

[PATCH] MMC: move regulator handling closer to core v2

2010-08-31 Thread Linus Walleij
After discovering a problem in regulator reference counting I took Mark Brown's advice to move the reference count into the MMC core by making the regulator status a member of struct mmc_host. I took this opportunity to also implement NULL versions of the regulator functions so as to rid the drive

Re: [PATCH] MMC: move regulator handling closer to core

2010-08-31 Thread Linus Walleij
2010/8/30 Adrian Hunter : > [Me] >> diff --git a/drivers/mmc/host/pxamci.c b/drivers/mmc/host/pxamci.c >> index 0a4e43f..47dae9b 100644 >> --- a/drivers/mmc/host/pxamci.c >> +++ b/drivers/mmc/host/pxamci.c >> @@ -99,14 +99,26 @@ static inline void pxamci_init_ocr(struct pxamci_host >> *host) >>  

Re: [PATCH] MMC: move regulator handling closer to core

2010-08-31 Thread Mark Brown
On Sun, Aug 29, 2010 at 07:15:59PM +0200, Linus Walleij wrote: > After discovering a problem in regulator reference counting I > took Mark Brown's advice to move the reference count into the > MMC core by making the regulator status a member of > struct mmc_host. > > I took this opportunity to als

Re: [PATCH] mmc: move regulator handling to core

2010-08-31 Thread Linus Walleij
2010/8/31 Mark Brown : > On Sun, Aug 29, 2010 at 05:30:48PM +0200, Linus Walleij wrote: >> 2010/8/29 Mark Brown : > >> > This seems like the wrong approach; if there's a problem it'd seem much >> > better to fix the core code that everything is sharing rather than >> > factor it out - the location

Re: [PATCH] mmc: move regulator handling to core

2010-08-31 Thread Mark Brown
On Sun, Aug 29, 2010 at 05:30:48PM +0200, Linus Walleij wrote: > 2010/8/29 Mark Brown : > > This seems like the wrong approach; if there's a problem it'd seem much > > better to fix the core code that everything is sharing rather than > > factor it out - the location of the code is orthogonal to i

Re: sdhci-stm performance issues

2010-08-31 Thread Peppe CAVALLARO
Hello The problem was due to the missing both 8BIT and MMC_SPEED supports in my sdhci driver (comes from the 2.6.32 Kernel series). I've also added the patch in attachment. Best Regards Peppe On 8/24/2010 5:11 PM, Peppe CAVALLARO wrote: > > Hello, > testing the sdhci-stm.c driver, I sent some we

Re: [PATCH v2] tmio_mmc: Allow 2 byte requests in 4-bit mode

2010-08-31 Thread Magnus Damm
Hi Matt, On Mon, Aug 30, 2010 at 7:50 PM, Matt Fleming wrote: > From: Yusuke Goda > > Adjust the tmio_mmc block size check to accept 2-byte requests in 4-bit > mode if the hardware supports it. > > Tested with the SDHI hardware block included in sh7724. > > Signed-off-by: Yusuke Goda > Signed-o

[PATCH] sdhci-s3c: support non-standard clock setting for c210

2010-08-31 Thread Jaehoon Chung
This is sdhci-s3c patch for c210. c210 didn't use divider of host controller. Host Controller need other clock setting methods. So I add the callback functions for s5pc210. also I set 400KHz for initial clock. Signed-off-by: Jaehoon Chung Signed-off-by: Kyungmin Park --- arch/arm/plat-sams

[RFC][PATCH 1/1]mmc: To implement eMMC4.4 standard HW reset feature

2010-08-31 Thread Chuanxiao.Dong
Hi all, This is a RFC patch to implement eMMC4.4 standared HW reset feature. This patch is generated against the latest linus kernel git tree. I am not sure whether it is an appropriate source code tree for me to use, if anybody knows which tree is the appropritate one to generate li

Re: [PATCH 0/2] mmc: omap_hsmmc: support SDIO cards (#2)

2010-08-31 Thread David Vrabel
On 27/08/2010 20:22, Chris Ball wrote: > Hi David, > > On Mon, Feb 22, 2010 at 02:24:17PM +, David Vrabel wrote: >> These patches add support for SDIO cards to the omap_hsmmc driver. >> Power management changes to prevent SDIO cards from being turned off >> and losing all state, and card inter