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)
commitc07d0073b9ec80a139d07ebf78e9c30d2a28279e
tree0d22647a5c59732bc5ced266b72e38527aac5a42
parentfeb40824d78eac5e48f56498dca941754dff33d7
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