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

Jérôme Pouiller jerome.pouiller at silabs.com
Tue Nov 9 12:20:44 CET 2021


On Tuesday 9 November 2021 11:59:05 CET H. Nikolaus Schaller wrote:
> From: Jérôme Pouiller <jerome.pouiller at silabs.com>
> 
> 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 at silabs.com>
> Signed-off-by: H. Nikolaus Schaller <hns at goldelico.com>
> ---
>  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 at silabs.com>


-- 
Jérôme Pouiller




More information about the Letux-kernel mailing list