summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorKamal Dasu <kamal.dasu@broadcom.com>2026-04-23 15:18:55 -0400
committerUlf Hansson <ulf.hansson@linaro.org>2026-05-11 16:45:48 +0200
commit5a52c5701a67d5176eb1afbf1bdaf7d6dfeec597 (patch)
tree3931eb7b413373609978fab6f8d3a462f114eb52 /scripts/objdiff
parent5d6919055dec134de3c40167a490f33c74c12581 (diff)
mmc: core: Fix host controller programming for fixed driver type
When using the fixed-emmc-driver-type device tree property, the MMC core correctly selects the driver strength for the card but fails to program the host controller accordingly. This causes a mismatch where the card uses the specified driver type while the host controller defaults to Type B (since ios->drv_type remains zero). Split the driver type programming logic to handle both fixed and dynamic driver type selection paths. For fixed driver types, program the host controller with the selected drive_strength value. For dynamic selection, use the existing drv_type as before. This ensures both the eMMC device and host controller use matching driver strengths, preventing potential signal integrity issues. Fixes: 6186d06c519e ("mmc: parse new binding for eMMC fixed driver type") Signed-off-by: Kamal Dasu <kamal.dasu@broadcom.com> Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com> Cc: stable@vger.kernel.org Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions