Re: [PATCH v1 1/1] mmc: bus: print bus speed mode of UHS-I card

2012-03-31 Thread Chris Ball
Hi Subhash, On Mon, Mar 26 2012, Stephen Boyd wrote: On 3/22/2012 10:56 PM, Subhash Jadavani wrote: @@ -296,6 +297,28 @@ int mmc_add_card(struct mmc_card *card) break; } +if (mmc_sd_card_uhs(card)) { +switch (card-sd_bus_speed) { +case

Re: [PATCH v1 1/1] mmc: bus: print bus speed mode of UHS-I card

2012-03-27 Thread Aaron Lu
Hi, On Mon, Mar 26, 2012 at 12:00:27PM +0530, Subhash Jadavani wrote: Actually we are already printing the HS200/DDR (for eMMC) bus speed mode along with card detected print. So why not bus speed mode for UHS-I cards. It really gives good impression to user what this card is capable of

RE: [PATCH v1 1/1] mmc: bus: print bus speed mode of UHS-I card

2012-03-26 Thread Subhash Jadavani
: Re: [PATCH v1 1/1] mmc: bus: print bus speed mode of UHS-I card Hi Subhash, On Fri, Mar 23, 2012 at 11:26:36AM +0530, Subhash Jadavani wrote: When UHS-I card is detected also print the bus speed mode in which UHS-I card will be running. The patch looks correct to me, except that I' m

Re: [PATCH v1 1/1] mmc: bus: print bus speed mode of UHS-I card

2012-03-26 Thread Stephen Boyd
On 3/22/2012 10:56 PM, Subhash Jadavani wrote: @@ -296,6 +297,28 @@ int mmc_add_card(struct mmc_card *card) break; } + if (mmc_sd_card_uhs(card)) { + switch (card-sd_bus_speed) { + case UHS_SDR104_BUS_SPEED: +

RE: [PATCH v1 1/1] mmc: bus: print bus speed mode of UHS-I card

2012-03-26 Thread Subhash Jadavani
...@amd.com Subject: Re: [PATCH v1 1/1] mmc: bus: print bus speed mode of UHS-I card Hi Subhash, On Fri, Mar 23, 2012 at 11:26:36AM +0530, Subhash Jadavani wrote: When UHS-I card is detected also print the bus speed mode in which UHS-I card will be running. The patch looks correct

Re: [PATCH v1 1/1] mmc: bus: print bus speed mode of UHS-I card

2012-03-25 Thread Aaron Lu
Hi Subhash, On Fri, Mar 23, 2012 at 11:26:36AM +0530, Subhash Jadavani wrote: When UHS-I card is detected also print the bus speed mode in which UHS-I card will be running. The patch looks correct to me, except that I' m not sure if this is needed. /sys/kernel/debug/mmc/ios also has such info.

[PATCH v1 1/1] mmc: bus: print bus speed mode of UHS-I card

2012-03-22 Thread Subhash Jadavani
When UHS-I card is detected also print the bus speed mode in which UHS-I card will be running. Signed-off-by: Subhash Jadavani subha...@codeaurora.org --- drivers/mmc/core/bus.c | 26 +- 1 files changed, 25 insertions(+), 1 deletions(-) diff --git