]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
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)
committerKhalid Elmously <khalid.elmously@canonical.com>
Wed, 29 Jan 2020 05:00:31 +0000 (00:00 -0500)
commit819d4859a5f90e6f9c136dccc5f0a5ca6ff7ac97
treecea417a2d32f53e043f9b8b467ce9547e323593e
parent972abdd0279533f7a95d7de8e7c620952c50d0af
mmc: sdhci-msm: Correct the offset and value for DDR_CONFIG register

BugLink: https://bugs.launchpad.net/bugs/1860490
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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/mmc/host/sdhci-msm.c