linux-kernelorg-stable/drivers/mmc/host
Shawn Lin 739f04f4a4 mmc: dw_mmc-rockchip: Fix wrong internal phase calculate
ciu clock is 2 times of io clock, but the sample clk used is
derived from io clock provided to the card. So we should use
io clock to calculate the phase.

Fixes: 59903441f5 ("mmc: dw_mmc-rockchip: Add internal phase support")
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Cc: stable@vger.kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2025-11-11 17:47:47 +01:00
..
Kconfig mmc: wmt-sdmmc: fix compile test default 2025-10-21 13:37:18 +02:00
Makefile mmc: loongson2: Add Loongson-2K SD/SDIO controller driver 2025-07-03 12:56:28 +02:00
alcor.c mmc: alcor: use modern PM macros 2025-08-22 12:14:03 +02:00
atmel-mci.c mmc: atmel: use modern PM macros 2025-08-22 12:14:03 +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
cavium-thunderx.c
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
cqhci-core.c
cqhci-crypto.c
cqhci-crypto.h
cqhci.h
davinci_mmc.c mmc: davinci_mmc: use modern PM macros 2025-08-22 12:14:03 +02:00
dw_mmc-bluefield.c
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
dw_mmc-hi3798mv200.c
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
dw_mmc-pltfm.h
dw_mmc-rockchip.c mmc: dw_mmc-rockchip: Fix wrong internal phase calculate 2025-11-11 17:47:47 +01:00
dw_mmc-starfive.c
dw_mmc.c mmc: dw_mmc: Use devm_mmc_alloc_host() helper 2025-06-24 12:43:22 +02: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
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
meson-gx-mmc.c
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_hsq.c
mmc_hsq.h
mmc_spi.c mmc: mmc_spi: remove unnecessary check in mmc_spi_setup_data_message() 2025-08-22 12:06:20 +02:00
mmci.c mmc: mmci: use modern PM macros 2025-08-22 12:14:03 +02:00
mmci.h
mmci_qcom_dml.c
mmci_stm32_sdmmc.c
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: use modern PM macros 2025-08-22 12:14:05 +02: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
omap.c mmc: omap: Use devm_mmc_alloc_host() helper 2025-06-24 12:43:23 +02:00
omap_hsmmc.c mmc: omap_hsmmc: use modern PM macros 2025-08-22 12:14:03 +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: host: renesas_sdhi: Fix incorrect auto retuning for an SDIO card 2025-06-24 12:43:26 +02:00
renesas_sdhi_core.c mmc: renesas_sdhi: Replace magic number '0xff' in renesas_sdhi_set_clock() 2025-08-20 18:41:31 +02:00
renesas_sdhi_internal_dmac.c mmc: renesas_sdhi: Enable 64-bit polling mode 2025-08-19 14:34:14 +02:00
renesas_sdhi_sys_dmac.c
rtsx_pci_sdmmc.c mmc: rtsx_pci: Use devm_mmc_alloc_host() helper 2025-06-24 12:43:23 +02: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 modern PM macros 2025-08-22 12:14:04 +02:00
sdhci-cadence.c mmc: sdhci-cadence: use modern PM macros 2025-08-22 12:14:04 +02:00
sdhci-cqhci.h
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
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: Enable tuning for SDR50 mode for SD card 2025-09-12 14:42:37 +02: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: use modern PM macros 2025-08-22 12:14:04 +02:00
sdhci-of-aspeed-test.c
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: Change DLL_STRBIN_TAPNUM_DEFAULT to 0x4 2025-10-22 11:46:13 +02: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
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
sdhci-pci.h
sdhci-pic32.c mmc: sdhci-pic32: Drop the use of sdhci_pltfm_free() 2025-06-24 12:43:25 +02: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
sdhci-xenon-phy.c
sdhci-xenon.c mmc: sdhci-xenon: use modern PM macros 2025-08-22 12:14:03 +02:00
sdhci-xenon.h
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
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
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: tmio: Add 64-bit read/write support for SD_BUF0 in polling mode 2025-08-19 14:34:14 +02: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 mmc: ushc: Use devm_mmc_alloc_host() helper 2025-06-24 12:43:23 +02: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
wmt-sdmmc.c mmc: wmt-sdmmc: use modern PM macros 2025-08-22 12:14:04 +02:00