]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: host: sdhci-sprd: Implement the request_atomic() API
authorBaolin Wang <baolin.wang7@gmail.com>
Mon, 13 Apr 2020 02:46:05 +0000 (10:46 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 28 May 2020 09:20:59 +0000 (11:20 +0200)
commit633c07079987445786c8657ab117c708d41668cc
tree3020dc34e522ddfee8616cece20da5fa1c55da33
parenta76f2232c305a8bbe919be88982a73029c403955
mmc: host: sdhci-sprd: Implement the request_atomic() API

Implement the request_atomic() API for nonremovable cards, that means
we can submit next request in the irq hard handler context to reduce
latency.

Moreover factor out the AUTO CMD23 checking into a separate function
to reduce duplicate code.

Signed-off-by: Baolin Wang <baolin.wang7@gmail.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/60142fe6c6c1dbba2696e775564ae2166786f0bc.1586744073.git.baolin.wang7@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-sprd.c