staging: wfx: apply the necessary SDIO quirks for the Silabs WF200
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Wed, 16 Feb 2022 09:31:12 +0000 (10:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Feb 2022 14:58:48 +0000 (15:58 +0100)
commit96e0cbca1cb96e9d3deac3051aa816e13082f3fd
tree7648c9af29a4f60ed90a513281d64b2682b0b4df
parent5f86ecba8e8ed4d8e6896b8940b5796a86200408
staging: wfx: apply the necessary SDIO quirks for the Silabs WF200

Until now, the SDIO quirks are applied directly from the driver.
However, it is better to apply the quirks before driver probing. So,
this patch relocate the quirks in the MMC framework.

Note that the WF200 has no valid SDIO VID/PID. Therefore, we match DT
rather than on the SDIO VID/PID.

Reviewed-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20220216093112.92469-3-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mmc/core/quirks.h
drivers/staging/wfx/bus_sdio.c