Commit 5f755ba9 authored by Erick Shepherd's avatar Erick Shepherd Committed by Ulf Hansson
Browse files

mmc: sdhci: Disable SD card clock before changing parameters



Per the SD Host Controller Simplified Specification v4.20 §3.2.3, change
the SD card clock parameters only after first disabling the external card
clock. Doing this fixes a spurious clock pulse on Baytrail and Apollo Lake
SD controllers which otherwise breaks voltage switching with a specific
Swissbit SD card. This change is limited to Intel host controllers to
avoid an issue reported on ARM64 devices.

Signed-off-by: default avatarKyle Roeschley <kyle.roeschley@ni.com>
Signed-off-by: default avatarBrad Mouring <brad.mouring@ni.com>
Signed-off-by: default avatarErick Shepherd <erick.shepherd@ni.com>
Acked-by: default avatarAdrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20250724185354.815888-1-erick.shepherd@ni.com


Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent c17b750b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment