Re: [PATCH v1 1/1] mmc: sd: Handle SD3.0 cards not supporting UHS-I bus speed mode

Chris Ball
2011-08-22T13:20:45Z

Hi Subhash,

On Mon, Aug 22 2011, Subhash Jadavani wrote:
> status[13] = 2 => High speed mode
> status[13] = 1 => Default speed mode
>
> If you want, i can add 2 more macros for HS and DS modes. Do you want me
> to define these macros within mmc_read_switch() or under sd_switch_caps
> struct in include/linux/mmc/card.h file?

Under the struct sounds good.

How about status[13] itself? Could we add macros for the names of the
status bits, as we do for e.g. the ext_csd[*] fields in mmc.h?

Thanks,

- Chris.
--
Chris Ball <cjb@laptop.org> <http://printf.net/>
One Laptop Per Child