mmc: sdhci-msm: Correct the offset and value for DDR_CONFIG register
authorVeerabhadrarao Badiganti <vbadigan@codeaurora.org>
Tue, 26 Nov 2019 10:19:16 +0000 (10:19 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 31 Dec 2019 15:46:29 +0000 (16:46 +0100)
commitc1956990740cb51f805e8048d8b4084c1aacefa5
tree8f8fa35e1586badcbcb02d50235d5a03ccdefbcc
parentbd0b65dbb1b58a4eb0ea0b8ce6a330b3bc9376ed
mmc: sdhci-msm: Correct the offset and value for DDR_CONFIG register

commit fa56ac9792265354b565f28def7164e7d7db2b1e upstream.

The DDR_CONFIG register offset got updated after a specific
minor version of sdcc V4. This offset change has not been properly
taken care of while updating register changes for sdcc V5.

Correcting proper offset for this register.
Also updating this register value to reflect the recommended RCLK
delay.

Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
Link: https://lore.kernel.org/r/0101016ea738ec72-fa0f852d-20f8-474a-80b2-4b0ef63b132c-000000@us-west-2.amazonses.com
Fixes: f15358885dda ("mmc: sdhci-msm: Define new Register address map")
Cc: stable@vger.kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mmc/host/sdhci-msm.c