]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: cqhci: Commit descriptors before setting the doorbell
authorFaiz Abbas <faiz_abbas@ti.com>
Mon, 14 Oct 2019 18:38:49 +0000 (00:08 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 21 Oct 2019 11:38:23 +0000 (13:38 +0200)
commitb23488eba76909be6f17a1ff2b8ec4cdcf716f57
tree0d22647a5c59732bc5ced266b72e38527aac5a42
parent0e8ad084e04f6dbc65aed6c8284ab82a09ef2757
mmc: cqhci: Commit descriptors before setting the doorbell

Add a write memory barrier to make sure that descriptors are actually
written to memory, before ringing the doorbell.

Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: stable@vger.kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/cqhci.c