linux/drivers
Shawn Lin 8662995aaa mmc: dw_mmc-rockchip: Fix wrong internal phase calculate
commit 739f04f4a4 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2025-11-24 10:36:01 +01:00
..
accel accel/habanalabs: support mapping cb with vmalloc-backed coherent memory 2025-11-13 15:34:30 -05:00
accessibility treewide: remove unnecessary <linux/version.h> inclusion 2024-08-12 18:36:44 +09:00
acpi acpi/hmat: Fix lockdep warning for hmem_register_resource() 2025-11-24 10:35:55 +01:00
amba ARM: 9416/1: amba: make amba_bustype constant 2024-09-04 15:01:17 +01:00
android binder: remove "invalid inc weak" check 2025-10-29 14:09:00 +01:00
ata ata: libata-scsi: Return aborted command when missing sense and result TF 2025-08-28 16:31:04 +02:00
atm atm: atmtcp: Prevent arbitrary write in atmtcp_recv_control(). 2025-09-04 15:31:47 +02:00
auxdisplay auxdisplay: charlcd: Partially revert "Move hwidth and bwidth to struct hd44780_common" 2025-05-29 11:02:24 +02:00
base regmap: slimbus: fix bus_context pointer in regmap init calls 2025-11-13 15:34:00 -05:00
bcma PCI: Rename CRS Completion Status to RRS 2024-09-10 19:52:30 -05:00
block nbd: override creds to kernel when calling sock_{send,recv}msg() 2025-10-29 14:08:59 +01:00
bluetooth Bluetooth: btusb: reorder cleanup in btusb_disconnect to avoid UAF 2025-11-24 10:35:50 +01:00
bus bus: mhi: core: Improve mhi_sync_power_up handling for SYS_ERR state 2025-11-13 15:34:27 -05:00
cache cache: StarFive: Require a 64-bit system 2024-08-01 07:15:02 -07:00
cdrom cdrom: Avoid barrier_nospec() in cdrom_ioctl_media_changed() 2024-10-17 19:47:15 -06:00
cdx cdx: Fix device node reference leak in cdx_msi_domain_init 2025-10-23 16:20:23 +02:00
char char: misc: restrict the dynamic range to exclude reserved minors 2025-11-13 15:34:32 -05:00
clk clk: clocking-wizard: Fix output clock register offset for Versal platforms 2025-11-13 15:34:34 -05:00
clocksource clocksource/drivers/timer-rtl-otto: Do not interfere with interrupts 2025-11-13 15:34:07 -05:00
comedi comedi: fix divide-by-zero in comedi_buf_munge() 2025-10-29 14:09:01 +01:00
connector connector/cn_proc: revert "connector: Fix proc_event_num_listeners count not cleared" 2024-02-13 11:15:44 +01:00
counter counter: interrupt-cnt: Protect enable/disable OPs with mutex 2025-06-19 15:32:12 +02:00
cpufreq cpufreq: tegra186: Initialize all cores to max frequencies 2025-11-13 15:34:34 -05:00
cpuidle cpuidle: Fail cpuidle device registration if there is one already 2025-11-13 15:34:06 -05:00
crypto crypto: hisilicon/qm - clear all VF configurations in the hardware 2025-11-13 15:34:28 -05:00
cxl cxl/region: Add a dev_err() on missing target list entries 2025-07-06 11:01:32 +02:00
dax dax: delete a stale directory pmem 2024-12-05 14:02:13 +01:00
dca Driver core changes for 6.11-rc1 2024-07-25 10:42:22 -07:00
devfreq PM / devfreq: rockchip-dfi: double count on RK3588 2025-10-15 11:59:59 +02:00
dio dio: Have dio_bus_match() callback take a const * 2024-07-10 15:38:14 +02:00
dma dmaengine: dw-edma: Set status for callback_result 2025-11-13 15:34:18 -05:00
dma-buf udmabuf: fix a buf size overflow issue during udmabuf creation 2025-11-02 22:15:23 +09:00
dpll dpll: Add an assertion to check freq_supported_num 2025-05-29 11:02:31 +02:00
edac EDAC/mc_sysfs: Increase legacy channel support to 16 2025-11-02 22:15:21 +09:00
eisa driver core: have match() callback in struct bus_type take a const * 2024-07-03 15:16:54 +02:00
extcon extcon: adc-jack: Cleanup wakeup source only if it was enabled 2025-11-13 15:34:41 -05:00
firewire firewire: ohci: move self_id_complete tracepoint after validating register 2025-11-13 15:34:03 -05:00
firmware firmware: qcom: tzmem: disable sc7180 platform 2025-11-13 15:34:05 -05:00
fpga fpga: zynq_fpga: Fix the wrong usage of dma_map_sgtable() 2025-08-28 16:31:08 +02:00
fsi move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
gnss [tree-wide] finally take no_llseek out 2024-09-27 08:18:43 -07:00
gpio gpiolib: fix invalid pointer access in debugfs 2025-11-13 15:34:37 -05:00
gpu drm/vmwgfx: Validate command header size against SVGA_CMD_MAX_DATASIZE 2025-11-24 10:35:54 +01:00
greybus greybus: gb-beagleplay: Add error handling for gb_greybus_init 2025-04-10 14:39:22 +02:00
hid HID: uclogic: Fix potential memory leak in error path 2025-11-24 10:35:58 +01:00
hsi HSI: ssi_protocol: Fix use after free vulnerability in ssi_protocol Driver Due to Race Condition 2025-04-20 10:16:02 +02:00
hte hte: tegra-194: add missing MODULE_DESCRIPTION() macro 2024-06-19 12:24:03 -07:00
hv Drivers: hv: Make the sysfs node size for the ring buffer dynamic 2025-08-01 09:48:47 +01:00
hwmon hwmon: (dell-smm) Remove Dell Precision 490 custom config data 2025-11-13 15:34:07 -05:00
hwspinlock hwspinlock: qcom: implement bust operation 2024-05-29 12:52:26 -07:00
hwtracing coresight: Fix incorrect handling for return value of devm_kzalloc 2025-10-15 12:00:16 +02:00
i2c i2c: designware: Add disabling clocks when probe fails 2025-10-15 12:00:03 +02:00
i3c i3c: mipi-i3c-hci-pci: Add support for Intel Wildcat Lake-U I3C 2025-11-13 15:34:06 -05:00
idle intel_idle: Allow loading ACPI tables for any family 2025-08-20 18:30:18 +02:00
iio iio: adc: imx93_adc: load calibrated values even calibration failed 2025-11-13 15:34:13 -05:00
infiniband RDMA/hns: Fix wrong WQE data when QP wraps around 2025-11-13 15:34:33 -05:00
input Input: uinput - zero-initialize uinput_ff_upload_compat to avoid info leak 2025-10-15 12:00:24 +02:00
interconnect interconnect: qcom: sc8180x: specify num_nodes 2025-08-15 12:13:38 +02:00
iommu iommufd: Make vfio_compat's unmap succeed if the range is already empty 2025-11-24 10:35:45 +01:00
ipack driver core: have match() callback in struct bus_type take a const * 2024-07-03 15:16:54 +02:00
irqchip irqchip/riscv-intc: Add missing free() callback in riscv_intc_domain_ops 2025-11-24 10:35:55 +01:00
isdn mISDN: Fix memory leak in dsp_hwec_enable() 2025-09-09 18:58:08 +02:00
leds leds: leds-lp55xx: Use correct address for memory programming 2025-10-15 11:59:58 +02:00
macintosh move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
mailbox mailbox: mtk-cmdq: Remove pm_runtime APIs from cmdq_mbox_send_data() 2025-10-19 16:33:41 +02:00
mcb mcb: fix a double free bug in chameleon_parse_gdd() 2025-05-02 07:59:08 +02:00
md dm error: mark as DM_TARGET_PASSES_INTEGRITY 2025-11-13 15:34:14 -05:00
media media: videobuf2: forbid remove_bufs when legacy fileio is active 2025-11-13 15:34:36 -05:00
memory memory: samsung: exynos-srom: Fix of_iomap leak in exynos_srom_probe 2025-10-19 16:33:54 +02:00
memstick memstick: Add timeout to prevent indefinite waiting 2025-11-13 15:34:02 -05:00
message scsi: fusion: Remove unused variable 'rc' 2024-12-05 14:02:10 +01:00
mfd mfd: intel-lpss: Add Intel Wildcat Lake LPSS PCI IDs 2025-11-13 15:34:08 -05:00
misc misc: fastrpc: Fix dma_buf object leak in fastrpc_map_lookup 2025-10-29 14:09:01 +01:00
mmc mmc: dw_mmc-rockchip: Fix wrong internal phase calculate 2025-11-24 10:36:01 +01:00
most most: usb: hdm_probe: Fix calling put_device() before device initialization 2025-10-29 14:09:01 +01:00
mtd mtd: onenand: Pass correct pointer to IRQ handler 2025-11-24 10:35:56 +01:00
mux mux: remove usage of the deprecated ida_simple_xx() API 2024-04-29 08:20:07 -07:00
net net: dsa: sja1105: fix kasan out-of-bounds warning in sja1105_table_delete_entry() 2025-11-24 10:35:58 +01:00
nfc move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
ntb NTB: epf: Allow arbitrary BAR mapping 2025-11-13 15:34:34 -05:00
nubus nubus: Make nubus_bus_type static and constant 2024-01-03 13:33:59 +01:00
nvdimm libnvdimm/labels: Fix divide error in nd_label_data_init() 2025-05-29 11:02:09 +02:00
nvme nvme: Use non zero KATO for persistent discovery connections 2025-11-13 15:34:07 -05:00
nvmem nvmem: layouts: fix automatic module loading 2025-10-12 12:57:18 +02:00
of of: unittest: Fix device reference count leak in of_unittest_pci_node_verify 2025-10-19 16:33:51 +02:00
opp OPP: OF: Fix an OF node leak in _opp_add_static_v2() 2025-02-08 09:57:10 +01:00
parisc parisc: pdc_stable: Constify struct kobj_type 2024-09-09 08:53:17 +02:00
parport serial: 8250_pci: Share WCH IDs with parport_serial driver 2025-02-21 14:01:25 +01:00
pci PCI/PM: Skip resuming to D0 if device is disconnected 2025-11-13 15:34:28 -05:00
pcmcia pcmcia: omap_cf: Mark driver struct with __refdata to prevent section mismatch 2025-09-25 11:13:42 +02:00
peci move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
perf drivers/perf: hisi: Relax the event ID check in the framework 2025-10-29 14:08:53 +01:00
phy phy: rockchip: phy-rockchip-inno-csidphy: allow writes to grf register 0 2025-11-13 15:34:22 -05:00
pinctrl pinctrl: keembay: release allocated memory in detach path 2025-11-13 15:34:04 -05:00
platform platform/x86/intel-uncore-freq: Fix warning in partitioned system 2025-11-13 15:34:16 -05:00
pmdomain pmdomain: apple: Add "apple,t8103-pmgr-pwrstate" 2025-11-13 15:34:06 -05:00
pnp driver core: have match() callback in struct bus_type take a const * 2024-07-03 15:16:54 +02:00
power power: supply: qcom_battmgr: handle charging state change notifications 2025-11-13 15:34:06 -05:00
powercap powercap: dtpm_cpu: Fix NULL pointer dereference in get_pd_power_uw() 2025-08-15 12:13:36 +02:00
pps pps: fix warning in pps_register_cdev when register device fail 2025-10-15 12:00:09 +02:00
ps3 driver/ps3: Include <video/cmdline.h> for mode parsing 2023-02-20 14:56:51 +01:00
ptp ptp: Limit time setting of PTP clocks 2025-11-13 15:34:17 -05:00
pwm pwm: pca9685: Use bulk write to atomicially update registers 2025-11-13 15:34:05 -05:00
rapidio drivers/rapidio/rio_cm.c: prevent possible heap overwrite 2025-06-27 11:11:36 +01:00
ras RAS/AMD/FMPM: Get masked address 2025-04-25 10:47:56 +02:00
regulator regulator: fixed: fix GPIO descriptor leak on register failure 2025-11-24 10:35:53 +01:00
remoteproc remoteproc: qcom: q6v5: Avoid handling handover twice 2025-11-13 15:34:28 -05:00
reset reset: brcmstb: Enable reset drivers for ARCH_BCM2835 2025-08-20 18:30:25 +02:00
rpmsg rpmsg: char: Export alias for RPMSG ID rpmsg-raw from table 2025-11-13 15:34:15 -05:00
rtc rtc: rx8025: fix incorrect register reference 2025-11-13 15:34:40 -05:00
s390 s390/dasd: Return BLK_STS_INVAL for EINVAL from do_dasd_request 2025-10-19 16:33:57 +02:00
sbus [tree-wide] finally take no_llseek out 2024-09-27 08:18:43 -07:00
scsi scsi: mpt3sas: Add support for 22.5 Gbps SAS link rate 2025-11-13 15:34:30 -05:00
sh sh: intc: Fix use-after-free bug in register_intc_controller() 2024-12-05 14:03:10 +01:00
siox Driver core changes for 6.11-rc1 2024-07-25 10:42:22 -07:00
slimbus slimbus: messaging: Free transaction ID in delayed interrupt scenario 2025-03-13 13:02:16 +01:00
soc soc/tegra: fuse: Add Tegra114 nvmem cells and fuse lookups 2025-11-13 15:34:05 -05:00
soundwire soundwire: Move handle_nested_irq outside of sdw_dev_lock 2025-08-20 18:30:46 +02:00
spi spi: rpc-if: Add resume support for RZ/G3E 2025-11-13 15:34:07 -05:00
spmi spmi: pmic-arb: fix return path in for_each_available_child_of_node() 2024-12-09 10:41:03 +01:00
ssb driver core: have match() callback in struct bus_type take a const * 2024-07-03 15:16:54 +02:00
staging staging: axis-fifo: flush RX FIFO on read errors 2025-10-12 12:57:19 +02:00
target scsi: target: target_core_configfs: Add length check to avoid buffer overflow 2025-10-06 11:17:52 +02:00
tc driver core: have match() callback in struct bus_type take a const * 2024-07-03 15:16:54 +02:00
tee tee: allow a driver to allocate a tee_device without a pool 2025-11-13 15:34:06 -05:00
thermal thermal: gov_step_wise: Allow cooling level to be reduced earlier 2025-11-13 15:34:04 -05:00
thunderbolt thunderbolt: Use is_pciehp instead of is_hotplug_bridge 2025-11-13 15:34:12 -05:00
tty tty/vt: Add missing return value for VT_RESIZE in vt_ioctl() 2025-11-13 15:34:20 -05:00
ufs scsi: ufs: core: Add a quirk to suppress link_startup_again 2025-11-13 15:34:40 -05:00
uio uio_hv_generic: Let userspace take care of interrupt mask 2025-10-15 12:00:20 +02:00
usb usb: xhci-pci: Fix USB2-only root hub registration 2025-11-13 15:34:32 -05:00
vdpa vdpa: Fix IDR memory leak in VDUSE module exit 2025-08-15 12:13:58 +02:00
vfio vfio/pci: Fix INTx handling on legacy non-PCI 2.3 devices 2025-11-13 15:34:30 -05:00
vhost vhost: vringh: Modify the return value check 2025-10-15 12:00:20 +02:00
video fbdev: Add bounds checking in bit_putcs to fix vmalloc-out-of-bounds 2025-11-13 15:34:35 -05:00
virt fix locking in efi_secret_unlink() 2025-08-20 18:30:21 +02:00
virtio virtio_ring: Fix error reporting in virtqueue_resize 2025-08-01 09:48:39 +01:00
w1 w1: fix NULL pointer dereference in probe 2025-04-10 14:39:22 +02:00
watchdog watchdog: s3c2410_wdt: Fix max_timeout being calculated larger 2025-11-13 15:34:23 -05:00
xen xen/events: Update virq_to_irq on migration 2025-10-19 16:33:45 +02:00
zorro Driver core changes for 6.11-rc1 2024-07-25 10:42:22 -07:00
Kconfig - removed AR7 platform support 2023-11-10 09:19:46 -08:00
Makefile leds: Init leds class earlier 2024-09-04 17:24:58 -05:00