]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
mmc: sdio: fall back to SDIO 1.0 for broken 1.1 cards
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 9 May 2016 07:59:59 +0000 (09:59 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 16 May 2016 09:31:27 +0000 (11:31 +0200)
commit88ea46bcbfd677b779897bbada32ec0709a6c92f
tree49d5cb6ee7697dbe63788d43221dbfa60f880b6b
parent5b5fe95a6977b9cdd30749cb1576df2329d70da9
mmc: sdio: fall back to SDIO 1.0 for broken 1.1 cards

I have two SDIO WLAN cards which specify being SDIO Rev. 1.1 cards but
their FUNCE tuple reports the smaller size of a Rev 1.0 card. So,
enforce 1.0 on these cards to avoid reading the not present registers.
They are not really used anyhow. My cards initialize properly after this
patch.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/sdio_cis.c