Re: [RFC v3 2/6] mmc: core: allow to match the device tree to apply quirks

From: Linus Walleij
Date: Tue Nov 09 2021 - 06:16:59 EST


On Wed, Nov 3, 2021 at 2:01 PM H. Nikolaus Schaller <hns@xxxxxxxxxxxxx> wrote:

> From: Jérôme Pouiller <jerome.pouiller@xxxxxxxxxx>
>
> MMC subsystem provides a way to apply quirks when a device match some
> properties (VID, PID, etc...) Unfortunately, some SDIO devices does not
> comply with the SDIO specification and does not provide reliable VID/PID
> (eg. Silabs WF200).
>
> So, the drivers for these devices rely on device tree to identify the
> device.
>
> This patch allows the MMC to also rely on the device tree to apply a
> quirk.
>
> Signed-off-by: Jérôme Pouiller <jerome.pouiller@xxxxxxxxxx>

Looks like the right solution.
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij