ANDROID: mmc: sdio: Disable retuning in sdio_reset_comm()
authorAndrew Bresticker <abrestic@chromium.org>
Tue, 10 Nov 2015 22:11:46 +0000 (14:11 -0800)
committerBrian Norris <briannorris@google.com>
Tue, 1 Mar 2016 20:04:00 +0000 (12:04 -0800)
commitee1a8e0fc3cb6ac300a47abc4beb211b0db47389
tree7a9b02ceb798ef1890b616d1d8916c70c68fbd51
parent4658d931f6072f6998c2ea0f43d87111a1fc8a2e
ANDROID: mmc: sdio: Disable retuning in sdio_reset_comm()

Since sdio_reset_comm() re-initializes the SDIO card, disable retuning
before idling and shutting down the card.  Tuning will be re-enabled (if
necessary) in mmc_sdio_init_card().

BUG=chrome-os-partner:46444
TEST=With CL:311815, toggle WiFi on/off on Smaug and observe that the
WiFi card comes back up and is able to tune successfully.

Change-Id: Ib4a5cfd4d75fc9e3ed7bb3f1e2ffd30de16c5d28
Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/311797
Reviewed-by: Derek Basehore <dbasehore@chromium.org>
[briannorris: brought from Chromium kernel in 3.18 -> 4.4 rebase]

Signed-off-by: Brian Norris <briannorris@google.com>
drivers/mmc/core/sdio.c