summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2020-05-22 18:19:08 +0200
committerPeng Fan <[email protected]>2020-06-15 09:45:22 +0800
commit406df85345f942d9348443983d81a01e013e920b (patch)
treea75ec35aa30215203e1694f116f6dcddba06fd23 /scripts
parent1ac64476440ee293e51f03d5b612b2b44b059976 (diff)
mmc: fsl_esdhc: Fix SDR104 and HS200 support
The 3V3/1V8 switching could never have worked on any of the iMXes ever since 51313b49f2 ("mmc: fsl_esdhc: support SDR104 and HS200"), because that commit uses priv->vqmmc_dev when switching voltages on mode switch, while local vqmmc_dev in probe to store the regulator pointer. Those are two different variables with the same name. So the priv->vqmmc_dev was always NULL and thus voltage switch between modes never really suceeded. Fix this by assigning priv->vqmmc_dev with value of the vqmmc_dev in probe. Fixes: 51313b49f2 ("mmc: fsl_esdhc: support SDR104 and HS200") Signed-off-by: Marek Vasut <[email protected]> Cc: Fabio Estevam <[email protected]> Cc: Jaehoon Chung <[email protected]> Cc: Peng Fan <[email protected]> Cc: Stefano Babic <[email protected]> Reviewed-by: Jaehoon Chung <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions