mmc: sdhci: Reduce spin lock usage in sdhci_execute_tuning
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 20 Mar 2017 17:50:38 +0000 (19:50 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 24 Apr 2017 19:41:30 +0000 (21:41 +0200)
commit2a85ef25bee6910f4de510c5b574c81e87f38b05
treece33855b6720114173acfede1bbb36900c03a75d
parentd1e4f74f911daee4d69b5fd0c81902f7d37de579
mmc: sdhci: Reduce spin lock usage in sdhci_execute_tuning

Tuning execution is already synchronized with respect to other host
operations by upper layers "claiming" the host, which also takes care of
runtime pm. There can be no requests in progress. Retain the spin lock
usage only for ensuring that sending tuning commands is synchronized with
respect to the interrupt handler.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Tested-by: Ludovic Desroches <ludovic.desroches@microchip.com>
drivers/mmc/host/sdhci.c