Re: [PATCH 2/5] mmc: core: allow to match the device tree to apply quirks

From: Jérôme Pouiller
Date: Tue Nov 09 2021 - 06:20:59 EST


On Tuesday 9 November 2021 11:59:05 CET H. Nikolaus Schaller 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 do 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>
> Signed-off-by: H. Nikolaus Schaller <hns@xxxxxxxxxxxxx>
> ---
> drivers/mmc/core/card.h | 3 +++
> drivers/mmc/core/quirks.h | 17 +++++++++++++++++
> 2 files changed, 20 insertions(+)

Reviewed-by: Jérôme Pouiller <jerome.pouiller@xxxxxxxxxx>


--
Jérôme Pouiller