Re: [PATCH 1/2] mmc: core: Add a capability for disabling mmc cards

2012-08-22 Thread Olof Johansson
On Wed, Aug 22, 2012 at 11:25 AM, Nicolas Pitre wrote: > On Wed, 22 Aug 2012, Olof Johansson wrote: > >> On Wed, Aug 22, 2012 at 9:00 AM, Philip Rakity wrote: >> > >> > On Aug 22, 2012, at 8:44 AM, Doug Anderson wrote: >> > >> >> Thanks for your feedback. In this case I have a card that is an

Re: [PATCH 1/2] mmc: core: Add a capability for disabling mmc cards

2012-08-22 Thread Nicolas Pitre
On Wed, 22 Aug 2012, Olof Johansson wrote: > On Wed, Aug 22, 2012 at 9:00 AM, Philip Rakity wrote: > > > > On Aug 22, 2012, at 8:44 AM, Doug Anderson wrote: > > > >> Thanks for your feedback. In this case I have a card that is an MMC > >> card so mmc_attach_sdio() and mmc_attach_sd() will

Re: [PATCH 1/2] mmc: core: Add a capability for disabling mmc cards

2012-08-22 Thread Olof Johansson
Hi, On Wed, Aug 22, 2012 at 9:00 AM, Philip Rakity wrote: > > On Aug 22, 2012, at 8:44 AM, Doug Anderson wrote: > >> Jaehoon, >> >> On Tue, Aug 21, 2012 at 9:35 PM, Jaehoon Chung >> wrote: >>> >>> Hi Doug, >>> >>> I didn't know what purpose is. >>> Why need to add the MMC_CAP2_NO_MMC? >>> If

Re: [PATCH 1/2] mmc: core: Add a capability for disabling mmc cards

2012-08-22 Thread Philip Rakity
On Aug 22, 2012, at 8:44 AM, Doug Anderson wrote: > Jaehoon, > > On Tue, Aug 21, 2012 at 9:35 PM, Jaehoon Chung wrote: >> >> Hi Doug, >> >> I didn't know what purpose is. >> Why need to add the MMC_CAP2_NO_MMC? >> If card is SD or SDIO, mmc_attach_mmc(host) should not be entered. >> Could

Re: [PATCH 1/2] mmc: core: Add a capability for disabling mmc cards

2012-08-22 Thread Doug Anderson
Jaehoon, On Tue, Aug 21, 2012 at 9:35 PM, Jaehoon Chung wrote: > > Hi Doug, > > I didn't know what purpose is. > Why need to add the MMC_CAP2_NO_MMC? > If card is SD or SDIO, mmc_attach_mmc(host) should not be entered. > Could you explain to me in more detail? Thanks for your feedback. In this

Re: [PATCH 1/2] mmc: core: Add a capability for disabling mmc cards

2012-08-22 Thread Doug Anderson
Jaehoon, On Tue, Aug 21, 2012 at 9:35 PM, Jaehoon Chung jh80.ch...@samsung.com wrote: Hi Doug, I didn't know what purpose is. Why need to add the MMC_CAP2_NO_MMC? If card is SD or SDIO, mmc_attach_mmc(host) should not be entered. Could you explain to me in more detail? Thanks for your

Re: [PATCH 1/2] mmc: core: Add a capability for disabling mmc cards

2012-08-22 Thread Philip Rakity
On Aug 22, 2012, at 8:44 AM, Doug Anderson diand...@chromium.org wrote: Jaehoon, On Tue, Aug 21, 2012 at 9:35 PM, Jaehoon Chung jh80.ch...@samsung.com wrote: Hi Doug, I didn't know what purpose is. Why need to add the MMC_CAP2_NO_MMC? If card is SD or SDIO, mmc_attach_mmc(host)

Re: [PATCH 1/2] mmc: core: Add a capability for disabling mmc cards

2012-08-22 Thread Olof Johansson
Hi, On Wed, Aug 22, 2012 at 9:00 AM, Philip Rakity prak...@marvell.com wrote: On Aug 22, 2012, at 8:44 AM, Doug Anderson diand...@chromium.org wrote: Jaehoon, On Tue, Aug 21, 2012 at 9:35 PM, Jaehoon Chung jh80.ch...@samsung.com wrote: Hi Doug, I didn't know what purpose is. Why need

Re: [PATCH 1/2] mmc: core: Add a capability for disabling mmc cards

2012-08-22 Thread Nicolas Pitre
On Wed, 22 Aug 2012, Olof Johansson wrote: On Wed, Aug 22, 2012 at 9:00 AM, Philip Rakity prak...@marvell.com wrote: On Aug 22, 2012, at 8:44 AM, Doug Anderson diand...@chromium.org wrote: Thanks for your feedback. In this case I have a card that is an MMC card so mmc_attach_sdio()

Re: [PATCH 1/2] mmc: core: Add a capability for disabling mmc cards

2012-08-22 Thread Olof Johansson
On Wed, Aug 22, 2012 at 11:25 AM, Nicolas Pitre n...@fluxnic.net wrote: On Wed, 22 Aug 2012, Olof Johansson wrote: On Wed, Aug 22, 2012 at 9:00 AM, Philip Rakity prak...@marvell.com wrote: On Aug 22, 2012, at 8:44 AM, Doug Anderson diand...@chromium.org wrote: Thanks for your feedback.

Re: [PATCH 1/2] mmc: core: Add a capability for disabling mmc cards

2012-08-21 Thread Jaehoon Chung
Hi Doug, I didn't know what purpose is. Why need to add the MMC_CAP2_NO_MMC? If card is SD or SDIO, mmc_attach_mmc(host) should not be entered. Could you explain to me in more detail? Best Regards, Jaehoon Chung On 08/22/2012 01:05 PM, Doug Anderson wrote: > On some systems we need a way to

[PATCH 1/2] mmc: core: Add a capability for disabling mmc cards

2012-08-21 Thread Doug Anderson
On some systems we need a way to disable MMC card support in a MMC/SD card slot. Add support in the core SD/MMC code to support this. Signed-off-by: Doug Anderson Signed-off-by: Alim Akhtar --- drivers/mmc/core/core.c |2 +- include/linux/mmc/host.h |1 + 2 files changed, 2

[PATCH 1/2] mmc: core: Add a capability for disabling mmc cards

2012-08-21 Thread Doug Anderson
On some systems we need a way to disable MMC card support in a MMC/SD card slot. Add support in the core SD/MMC code to support this. Signed-off-by: Doug Anderson diand...@chromium.org Signed-off-by: Alim Akhtar alim.akh...@samsung.com --- drivers/mmc/core/core.c |2 +-

Re: [PATCH 1/2] mmc: core: Add a capability for disabling mmc cards

2012-08-21 Thread Jaehoon Chung
Hi Doug, I didn't know what purpose is. Why need to add the MMC_CAP2_NO_MMC? If card is SD or SDIO, mmc_attach_mmc(host) should not be entered. Could you explain to me in more detail? Best Regards, Jaehoon Chung On 08/22/2012 01:05 PM, Doug Anderson wrote: On some systems we need a way to