Re: [PATCHv3 1/1] mmc: core: export emmc revision

From: Linus Walleij
Date: Fri Oct 13 2017 - 08:39:01 EST


On Thu, Oct 12, 2017 at 7:46 PM, Jin Qian <jinqian@xxxxxxxxxxx> wrote:

> From: Jin Qian <jinqian@xxxxxxxxxx>
>
> Expose emmc revision as part of device attributes.
>
> Signed-off-by: Jin Qian <jinqian@xxxxxxxxxxx>
(...)

> +MMC_DEV_ATTR(rev, "0x%x\n", card->ext_csd.rev);

This will be 0x0000 on ordinary MMC cards right?

Have you tested it?

Yours,
Linus Walleij