LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH RFC] Toggle fifo write clk after ungating sdcc clk
@ 2020-02-20  9:20 Sayali Lokhande
  2020-02-20  9:20 ` [PATCH RFC] mmc: sdhci-msm: " Sayali Lokhande
  2020-02-20 15:51 ` [PATCH RFC] " Bjorn Andersson
  0 siblings, 2 replies; 7+ messages in thread
From: Sayali Lokhande @ 2020-02-20  9:20 UTC (permalink / raw)
  To: bjorn.andersson, adrian.hunter, robh+dt, ulf.hansson, asutoshd,
	stummala, ppvk, rampraka, vbadigan, sboyd, georgi.djakov, mka
  Cc: linux-mmc, linux-kernel, linux-arm-msm, devicetree, agross,
	linux-mmc-owner, Sayali Lokhande

During GCC level clock gating of MCLK, the async FIFO
gets into some hang condition, such that for the next
transfer after MCLK ungating, first bit of CMD response
doesn't get written in to the FIFO. This cause the CPSM
to hang eventually leading to SW timeout.

To fix the issue, toggle the FIFO write clock after
MCLK ungated to get the FIFO pointers and flags to
valid states.

Ram Prakash Gupta (1):
  mmc: sdhci-msm: Toggle fifo write clk after ungating sdcc clk

 drivers/mmc/host/sdhci-msm.c | 43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-02-28  6:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-20  9:20 [PATCH RFC] Toggle fifo write clk after ungating sdcc clk Sayali Lokhande
2020-02-20  9:20 ` [PATCH RFC] mmc: sdhci-msm: " Sayali Lokhande
2020-02-20 15:44   ` Bjorn Andersson
2020-02-20 18:02   ` Stephen Boyd
2020-02-24 13:49   ` Veerabhadrarao Badiganti
2020-02-28  6:54     ` Sayali Lokhande
2020-02-20 15:51 ` [PATCH RFC] " Bjorn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).