]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit30a2ba04d085a51afe0a68771d710f80bfae739a
treece33855b6720114173acfede1bbb36900c03a75d
parent6d3adcdef5c2dda229a2411257aba0fb4ef4ac64
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