]> git.ipfire.org Git - thirdparty/linux.git/commit
mmc: sdhci-brcmstb: use correct register offset for V1 pin_sel restore
authorKamal Dasu <kamal.dasu@broadcom.com>
Mon, 16 Feb 2026 19:15:43 +0000 (14:15 -0500)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 23 Feb 2026 11:05:20 +0000 (12:05 +0100)
commit79ad471530e0baef0dce991816013df55e401d9c
tree4bc9d1f1b343c73aea1747c5840d40065bb523d1
parent6465a8bbb0f6ad98aeb66dc9ea19c32c193a610b
mmc: sdhci-brcmstb: use correct register offset for V1 pin_sel restore

The restore path for SDIO_CFG_CORE_V1 was incorrectly using
SDIO_CFG_SD_PIN_SEL (offset 0x44) instead of SDIO_CFG_V1_SD_PIN_SEL
(offset 0x54), causing the wrong register to be written on resume.
The save path already uses the correct V1-specific offset. This
affects BCM7445 and BCM72116 platforms which use the V1 config core.

Fixes: b7e614802e3f ("mmc: sdhci-brcmstb: save and restore registers during PM")
Signed-off-by: Kamal Dasu <kamal.dasu@broadcom.com>
Cc: stable@vger.kernel.org
Tested-by: Florian Fainelli <florian.fainelli@broadcom.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-brcmstb.c