Re: [RFC/PATCH RESEND] mmc: sdhci: Enable high speed support for MMC cards

2010-08-28 Thread Chris Ball
Hi Kyungmin, > It's already patched. you can find it easily at list. I think you're talking about this patch from Zhangfei: From: Zhangfei Gao Date: Mon, 16 Aug 2010 21:15:32 -0400 Subject: [PATCH] sdhci: support MMC_CAP_MMC_HIGHSPEED Signed-off-by: Zhangfei Gao Acked-by: Matt Fleming Ack

Re: [PATCH RESEND] at91_mci.c: use resource_size()

2010-08-28 Thread Jean-Christophe PLAGNIOL-VILLARD
On 20:24 Fri 27 Aug , Matt Fleming wrote: > [Adding maintainer to CC] > > On Fri, Aug 27, 2010 at 08:08:13PM +0100, Chris Ball wrote: > > From: H Hartley Sweeten > > Date: Mon, 14 Dec 2009 14:10:26 -0500 > > > > Use resource_size(). > > > > Signed-off-by: H Hartley Sweeten > > [cjb: rebase

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

2010-08-28 Thread Linus Walleij
2010/8/27 Chris Ball : > Looks like this patch got dropped because of the missing modifications > to arch/arm/mach-omap2/mmc-twl4030.c.  Are we still interested in the > patch otherwise, and can anyone help with that? Actually just before the summer I submitted something not quite similar: I move

Re: [PATCH 1/2] mmc: Add helper function to check if a card is removable

2010-08-28 Thread Matt Fleming
On Sat, Aug 28, 2010 at 03:13:09PM +0100, Ben Hutchings wrote: > On Sat, 2010-08-28 at 14:53 +0100, Matt Fleming wrote: > [...] > > --- a/include/linux/mmc/host.h > > +++ b/include/linux/mmc/host.h > > @@ -272,5 +272,12 @@ static inline void mmc_set_disable_delay(struct > > mmc_host *host, > >

Re: [PATCH 1/2] mmc: Add helper function to check if a card is removable

2010-08-28 Thread Ben Hutchings
On Sat, 2010-08-28 at 14:53 +0100, Matt Fleming wrote: [...] > --- a/include/linux/mmc/host.h > +++ b/include/linux/mmc/host.h > @@ -272,5 +272,12 @@ static inline void mmc_set_disable_delay(struct mmc_host > *host, > host->disable_delay = disable_delay; > } > > +extern int mmc_assume_rem

[PATCH 2/2] sdhci: disable MMC_CAP_NEEDS_POLL in nonremovable case

2010-08-28 Thread Matt Fleming
From: Jaehoon Chung If controller use SDHCI_QUIRK_BROKEN_CARD_DETECTION quirk, controller need always polling detect In this case, always generated interrupt.Because controller checked card status. I think that is not efficiently. But if card is nonremovable, we need not always polling. So i ad

[PATCH 1/2] mmc: Add helper function to check if a card is removable

2010-08-28 Thread Matt Fleming
There are two checks that need to be made when determining whether a card is removable. A host controller may set MMC_CAP_NONREMOVABLE if the controller does not support removing cards (e.g. eMMC), in which case the card is physically non-removable. Also the 'mmc_assume_removable' module parameter

Re: [PATCH] sdhci: disable MMC_CAP_NEEDS_POLL in nonremovable case

2010-08-28 Thread Matt Fleming
On Fri, Aug 27, 2010 at 07:55:44PM +0800, Gao, Yunpeng wrote: > >-Original Message- > >From: linux-mmc-ow...@vger.kernel.org > >[mailto:linux-mmc-ow...@vger.kernel.org] On Behalf Of Kyungmin Park > >Sent: Friday, August 27, 2010 3:15 PM > >To: Matt Fleming > >Cc: Jaehoon Chung; linux-mmc@vg