Re: [PATCH 1/2] mmc: core: Simplify and fix for SD switch processing

2012-07-03 Thread Chris Ball
Hi, On Tue, Jul 03 2012, Aaron Lu wrote: > In mmc_read_switch, just do a one time mode 0 switch command to get the > support bits information, no need to do multiple times as the support > bits do not change with different arguments. > > And no need to check current limit support bits, as these bi

[PATCH 1/2] mmc: core: Simplify and fix for SD switch processing

2012-07-02 Thread Aaron Lu
In mmc_read_switch, just do a one time mode 0 switch command to get the support bits information, no need to do multiple times as the support bits do not change with different arguments. And no need to check current limit support bits, as these bits is fixed according to the signal voltage. If the