]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: tmio: make sure SDIO gets reinitialized after resume
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 23 May 2017 13:34:08 +0000 (15:34 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 20 Jun 2017 08:30:35 +0000 (10:30 +0200)
commit0e8642146912f59609c7a7332301a708a23bf580
tree3d3cf24f0353a92229e1bbc50eb0114703a2f8fb
parentabf8c229dac7245974cdb5ceef0f994a739a1b6a
mmc: tmio: make sure SDIO gets reinitialized after resume

To achieve that, we set the registers in the generic HW reset routine
which gets called at both, init and resume. We also make sure to move
SDIO initialization before reset gets called in probe().

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Tested-by: Masaharu Hayakawa <masaharu.hayakawa.ry@renesas.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/tmio_mmc_core.c