]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mmc: tmio: use SDIO master interrupt bit only when allowed
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Fri, 9 Dec 2016 16:51:41 +0000 (17:51 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 13 Feb 2017 12:19:48 +0000 (13:19 +0100)
commitc51ff6c6180e76a1ba96aef799a9c41aa80fcc95
treea77a6215876ad5496aef896ed4a8f0d9156cc712
parent7089db84e356562f8ba737c29e472cc42d530dbc
mmc: tmio: use SDIO master interrupt bit only when allowed

The master bit to enable SDIO interrupts can only be accessed if
SCLKDIVEN bit allows that. However, the core uses the SDIO enable
callback at times when SCLKDIVEN forbids the change. This leads to
"timeout waiting for SD bus idle" messages.

We now activate the master bit in probe once if SDIO is supported. IRQ
en-/disabling will be done now by the individual IRQ enablement bits
only.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Yasushi SHOJI <yashi@atmark-techno.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/tmio_mmc_pio.c