linux/drivers/mmc/host
Kamal Dasu 79ad471530 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: b7e614802e ("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>
2026-02-23 12:05:20 +01:00
..
alcor.c mmc: alcor: use modern PM macros 2025-08-22 12:14:03 +02:00
atmel-mci.c mmc: use octal file permissions instead of symbolic 2025-10-21 13:37:38 +02:00
au1xmmc.c mmc: au1xmmc: use modern PM macros 2025-08-22 12:14:03 +02:00
bcm2835.c mmc: Merge branch fixes into next 2025-07-03 14:17:35 +02:00
cavium-octeon.c mmc: host: Fix typos in comments across various files 2024-10-14 12:40:10 +02:00
cavium-thunderx.c mmc: cavium-thunderx: Use non-hybrid PCI devres API 2025-05-14 16:59:18 +02:00
cavium.c mmc: cavium: Use devm_mmc_alloc_host() helper 2025-06-24 12:43:22 +02:00
cavium.h
cb710-mmc.c mmc: cb710-mmc: use modern PM macros 2025-08-22 12:14:03 +02:00
cb710-mmc.h mmc: Convert from tasklet to BH workqueue 2024-07-08 11:41:30 +02:00
cqhci-core.c mmc: cqhci: Make use of cqhci_halted() routine 2024-09-03 14:22:10 +02:00
cqhci-crypto.c blk-crypto: add basic hardware-wrapped key support 2025-02-10 09:54:19 -07:00
cqhci-crypto.h mmc: core: Store pointer to bio_crypt_ctx in mmc_request 2021-08-24 10:15:32 +02:00
cqhci.h mmc: sdhci-of-dwcmshc: reduce CIT for better performance 2025-11-26 11:47:05 +01:00
davinci_mmc.c mmc: use octal file permissions instead of symbolic 2025-10-21 13:37:38 +02:00
dw_mmc-bluefield.c mmc: Switch back to struct platform_driver::remove() 2024-10-14 12:29:01 +02:00
dw_mmc-exynos.c mmc: dw_mmc: exynos: use modern PM macros 2025-08-22 12:14:05 +02:00
dw_mmc-exynos.h
dw_mmc-hi3798cv200.c mmc: Switch back to struct platform_driver::remove() 2024-10-14 12:29:01 +02:00
dw_mmc-hi3798mv200.c mmc: hi3798mv200: Use syscon_regmap_lookup_by_phandle_args 2025-01-13 16:36:13 +01:00
dw_mmc-k3.c mmc: dw_mmc-k3: use modern PM macros 2025-08-22 12:14:05 +02:00
dw_mmc-pci.c mmc: dw_mmc-pci: use modern PM macros 2025-08-22 12:14:05 +02:00
dw_mmc-pltfm.c mmc: Switch back to struct platform_driver::remove() 2024-10-14 12:29:01 +02:00
dw_mmc-pltfm.h mmc: dw_mmc: Make dw_mci_pltfm_remove() return void 2023-06-12 15:16:18 +02:00
dw_mmc-rockchip.c mmc: dw_mmc-rockchip: Fix runtime PM support for internal phase support 2026-02-23 12:05:20 +01:00
dw_mmc-starfive.c mmc: Switch back to struct platform_driver::remove() 2024-10-14 12:29:01 +02:00
dw_mmc.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
dw_mmc.h mmc: dw_mmc: exynos: use modern PM macros 2025-08-22 12:14:05 +02:00
jz4740_mmc.c mmc: jz4740: Use devm_mmc_alloc_host() helper 2025-06-24 12:43:22 +02:00
Kconfig mmc: sdhci-esdhc-imx: add alternate ARCH_S32 dependency to Kconfig 2025-12-17 14:14:51 +01:00
litex_mmc.c mmc: litex_mmc: Use devm_mmc_alloc_host() helper 2025-06-24 12:43:22 +02:00
loongson2-mmc.c mmc: loongson2: Unify the function prefixes for loongson2_mmc_pdata 2025-07-16 12:04:40 +02:00
Makefile mmc: loongson2: Add Loongson-2K SD/SDIO controller driver 2025-07-03 12:56:28 +02:00
meson-gx-mmc.c mmc: host: Fix typos in comments across various files 2024-10-14 12:40:10 +02:00
meson-mx-sdhc-clkc.c mmc: meson-mx-sdhc: use PTR_ERR_OR_ZERO() to simplify code 2025-08-19 14:34:15 +02:00
meson-mx-sdhc-mmc.c mmc: meson-mx-sdhc: Use devm_mmc_alloc_host() helper 2025-06-24 12:43:22 +02:00
meson-mx-sdhc.h
meson-mx-sdio.c mmc: meson-mx-sdio: Ignore disabled "mmc-slot" child-nodes 2025-11-18 16:21:36 +01:00
mmc_hsq.c mmc: hsq: Improve random I/O write performance for 4k buffers 2023-09-27 12:13:18 +02:00
mmc_hsq.h mmc: hsq: Improve random I/O write performance for 4k buffers 2023-09-27 12:13:18 +02:00
mmc_spi.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
mmci.c mmc: mmci: use modern PM macros 2025-08-22 12:14:03 +02:00
mmci.h mmc: host: Fix typos in comments across various files 2024-10-14 12:40:10 +02:00
mmci_qcom_dml.c mmc: mmci: Fix device_node reference leak in of_get_dml_pipe_index() 2026-02-23 12:05:20 +01:00
mmci_stm32_sdmmc.c dma-mapping: don't return errors from dma_set_max_seg_size 2024-08-29 07:22:49 +03:00
moxart-mmc.c mmc: moxart-mmc: Use devm_mmc_alloc_host() helper 2025-06-24 12:43:23 +02:00
mtk-sd.c mmc: mtk-sd: replace use of system_wq with system_percpu_wq 2025-11-11 18:04:12 +01:00
mvsdio.c mmc: mvsdio: Fix dma_unmap_sg() nents value 2025-09-12 14:04:22 +02:00
mvsdio.h
mxcmmc.c mmc: mxcmmc: Use devm_mmc_alloc_host() helper 2025-06-24 12:43:23 +02:00
mxs-mmc.c mmc: mxs-mmc: use modern PM macros 2025-08-22 12:14:03 +02:00
of_mmc_spi.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
omap.c mmc: omap: add WQ_PERCPU to alloc_workqueue users 2025-11-11 18:15:01 +01:00
omap_hsmmc.c mmc: use octal file permissions instead of symbolic 2025-10-21 13:37:38 +02:00
owl-mmc.c mmc: owl-mmc: Use devm_mmc_alloc_host() helper 2025-06-24 12:43:23 +02:00
pxamci.c mmc: pxamci: Simplify pxamci_probe() error handling using devm APIs 2025-11-11 17:34:28 +01:00
pxamci.h
renesas_sdhi.h mmc: renesas_sdhi: Add suspend/resume hooks 2025-11-18 16:28:54 +01:00
renesas_sdhi_core.c mmc: renesas_sdhi: Add suspend/resume hooks 2025-11-18 16:28:54 +01:00
renesas_sdhi_internal_dmac.c mmc: renesas_sdhi: Add suspend/resume hooks 2025-11-18 16:28:54 +01:00
renesas_sdhi_sys_dmac.c mmc: renesas_sdhi: enable bigger data ports where available 2025-10-21 13:37:38 +02:00
rtsx_pci_sdmmc.c mmc: rtsx_pci_sdmmc: implement sdmmc_card_busy function 2026-01-20 11:58:32 +01:00
rtsx_usb_sdmmc.c mmc: rtsx_usb_sdmmc: use modern PM macros 2025-08-22 12:14:04 +02:00
sdhci-acpi.c mmc: sdhci-acpi: use modern PM macros 2025-08-22 12:14:04 +02:00
sdhci-bcm-kona.c mmc: sdhci-bcm-kona: Drop the use of sdhci_pltfm_free() 2025-06-24 12:43:24 +02:00
sdhci-brcmstb.c mmc: sdhci-brcmstb: use correct register offset for V1 pin_sel restore 2026-02-23 12:05:20 +01:00
sdhci-cadence.c mmc: sdhci-cadence: use modern PM macros 2025-08-22 12:14:04 +02:00
sdhci-cqhci.h mmc: cqhci: Provide helper for resetting both SDHCI and CQHCI 2022-11-07 13:28:47 +01:00
sdhci-dove.c mmc: sdhci-dove: Drop the use of sdhci_pltfm_free() 2025-06-24 12:43:24 +02:00
sdhci-esdhc-imx.c mmc: sdhci-esdhc-imx: use modern PM macros 2025-08-22 12:14:04 +02:00
sdhci-esdhc-mcf.c mmc: sdhci-esdhc-mcf: Drop the use of sdhci_pltfm_free() 2025-06-24 12:43:24 +02:00
sdhci-esdhc.h mmc: sdhci-of-esdhc: make sure delay chain locked for HS400 2020-10-28 11:07:01 +01:00
sdhci-iproc.c mmc: sdhci-iproc: Drop the use of sdhci_pltfm_free() 2025-06-24 12:43:24 +02:00
sdhci-milbeaut.c mmc: sdhci-milbeaut: Drop the use of sdhci_free_host() 2025-06-24 12:43:24 +02:00
sdhci-msm.c mmc: sdhci-msm: Avoid early clock doubling during HS400 transition 2025-11-25 13:39:46 +01:00
sdhci-npcm.c mmc: sdhci-npcm: Drop the use of sdhci_pltfm_free() 2025-06-24 12:43:25 +02:00
sdhci-of-arasan.c mmc: sdhci-of-arasan: Increase CD stable timeout to 2 seconds 2025-12-17 14:12:14 +01:00
sdhci-of-aspeed-test.c mmc: sdhci-of-aspeed: test: Use kunit_test_suite() macro 2022-07-11 17:13:32 -06:00
sdhci-of-aspeed.c mmc: sdhci-of-aspeed: Drop the use of sdhci_pltfm_free() 2025-06-24 12:43:25 +02:00
sdhci-of-at91.c mmc: sdhci-of-at91: use modern PM macros 2025-08-22 12:14:04 +02:00
sdhci-of-dwcmshc.c mmc: sdhci-of-dwcmshc: Fix DMA 128MB boundary for Eswin EIC7700 2026-01-22 13:26:08 +01:00
sdhci-of-esdhc.c mmc: sdhci-of-esdhc: use modern PM macros 2025-08-22 12:14:04 +02:00
sdhci-of-hlwd.c mmc: Switch back to struct platform_driver::remove() 2024-10-14 12:29:01 +02:00
sdhci-of-k1.c mmc: Merge branch fixes into next 2025-06-24 12:43:55 +02:00
sdhci-of-ma35d1.c mmc: sdhci-of-ma35d1: Drop the use of sdhci_pltfm_free() 2025-06-24 12:43:25 +02:00
sdhci-of-sparx5.c mmc: sdhci-of-sparx5: Drop the use of sdhci_pltfm_free() 2025-06-24 12:43:25 +02:00
sdhci-omap.c mmc: sdhci-omap: use modern PM macros 2025-08-22 12:14:04 +02:00
sdhci-pci-arasan.c
sdhci-pci-core.c mmc: sdhci: Disable SD card clock before changing parameters 2025-08-18 11:19:45 +02:00
sdhci-pci-dwc-mshc.c
sdhci-pci-gli.c mmc: sdhci-pci-gli: GL9767: Fix initializing the UHS-II interface during a power-on 2025-09-12 15:00:52 +02:00
sdhci-pci-o2micro.c mmc: sdhci-pci-o2micro: Convert PCIBIOS_* return codes to errnos 2024-06-20 10:57:44 +02:00
sdhci-pci.h mmc: sdhci-pci: Add DMI quirk for missing CD GPIO on Vexia Edu Atla 10 tablet 2024-12-02 15:06:03 +01:00
sdhci-pic32.c mmc: sdhci-pic32: update include to use pic32.h from platform_data 2026-01-30 15:29:08 +01:00
sdhci-pltfm.c mmc: sdhci: Drop sdhci_free_host()/sdhci_pltfm_free() interface 2025-06-24 12:43:26 +02:00
sdhci-pltfm.h mmc: sdhci: Drop sdhci_free_host()/sdhci_pltfm_free() interface 2025-06-24 12:43:26 +02:00
sdhci-pxav2.c mmc: sdhci-pxav2: Drop the use of sdhci_pltfm_free() 2025-06-24 12:43:25 +02:00
sdhci-pxav3.c mmc: sdhci-pxav3: use modern PM macros 2025-08-22 12:14:03 +02:00
sdhci-s3c.c mmc: sdhci-s3c: use modern PM macros 2025-08-22 12:14:04 +02:00
sdhci-spear.c mmc: sdhci-spear: use modern PM macros 2025-08-22 12:14:04 +02:00
sdhci-sprd.c mmc: sdhci-sprd: use modern PM macros 2025-08-22 12:14:04 +02:00
sdhci-st.c mmc: sdhci-st: use modern PM macros 2025-08-22 12:14:04 +02:00
sdhci-tegra.c mmc: sdhci-tegra: use modern PM macros 2025-08-22 12:14:04 +02:00
sdhci-uhs2.c mmc: sdhci-uhs2: Fix calling incorrect sdhci_set_clock() function 2025-09-12 15:00:52 +02:00
sdhci-uhs2.h mmc: sdhci-uhs2: add irq() and others 2024-10-24 14:37:42 +02:00
sdhci-xenon-phy.c mmc: sdhci-xenon: add timeout for PHY init complete 2024-02-28 13:41:35 +01:00
sdhci-xenon.c mmc: sdhci-xenon: use modern PM macros 2025-08-22 12:14:03 +02:00
sdhci-xenon.h mmc: xenon: Add ac5 support via bounce buffer 2024-01-05 11:03:56 +01:00
sdhci.c mmc: sdhci: Move the code related to setting the clock from sdhci_set_ios_common() into sdhci_set_ios() 2025-09-12 15:00:52 +02:00
sdhci.h mmc: sdhci: add some simple inline functions for !CONFIG_PM 2025-08-22 12:13:52 +02:00
sdhci_am654.c mmc: sdhci_am654: use modern PM macros 2025-08-22 12:14:04 +02:00
sdhci_f_sdh30.c mmc: sdhci_f_sdh30: Drop the use of sdhci_pltfm_free() 2025-06-24 12:43:26 +02:00
sdhci_f_sdh30.h mmc: f-sdh30: Add support for non-removable media 2022-12-07 13:22:36 +01:00
sdricoh_cs.c mmc: sdricoh_cs: Use devm_mmc_alloc_host() helper 2025-06-24 12:43:23 +02:00
sh_mmcif.c mmc: sh_mmcif: Remove dummy PM resume callback 2025-09-12 14:11:33 +02:00
sunplus-mmc.c mmc: rename mmc_can_gpio_cd() to mmc_host_can_gpio_cd() 2025-05-14 16:59:17 +02:00
sunxi-mmc.c mmc: sunxi: use modern PM macros 2025-08-22 12:14:03 +02:00
tifm_sd.c mmc: drop nth_page() usage within SG entry 2025-09-21 14:22:08 -07:00
tmio_mmc.h mmc: renesas_sdhi: Switch to SYSTEM_SLEEP_PM_OPS()/RUNTIME_PM_OPS() and pm_ptr() 2025-11-18 16:28:54 +01:00
tmio_mmc_core.c mmc: tmio: Add 64-bit read/write support for SD_BUF0 in polling mode 2025-08-19 14:34:14 +02:00
toshsd.c mmc: toshsd: use modern PM macros 2025-08-22 12:14:04 +02:00
toshsd.h
uniphier-sd.c mmc: tmio: Use devm_mmc_alloc_host() helper 2025-06-24 12:43:24 +02:00
usdhi6rol0.c mmc: drop nth_page() usage within SG entry 2025-09-21 14:22:08 -07:00
ushc.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
via-sdmmc.c mmc: via-sdmmc: use modern PM macros 2025-08-22 12:14:05 +02:00
vub300.c mmc: vub300: Use devm_mmc_alloc_host() helper 2025-06-24 12:43:23 +02:00
wbsd.c mmc: wbsd: Use devm_mmc_alloc_host() helper 2025-06-24 12:43:24 +02:00
wbsd.h mmc: Convert from tasklet to BH workqueue 2024-07-08 11:41:30 +02:00
wmt-sdmmc.c mmc: wmt-sdmmc: use modern PM macros 2025-08-22 12:14:04 +02:00