mmc: fsl_esdhc: Fix i.MX53 eSDHCv3 clock
authorBenoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>
Tue, 16 Jan 2018 21:44:18 +0000 (22:44 +0100)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 22 Jan 2018 05:17:13 +0000 (14:17 +0900)
commitb9b4f146c9bbfb31c50fc1378d3ae44215003bac
tree844d6b09ad2d35d03e1ba6b17afa47df1faffd4f
parent9546eb92cb648a8bba0aa9d5930ac751e6e5b9a4
mmc: fsl_esdhc: Fix i.MX53 eSDHCv3 clock

Commit 4f425280fa71 ("mmc: fsl_esdhc: Allow all supported prescaler
values") made it possible to set SYSCTL.SDCLKFS to 0 in SDR mode on
i.MX, thus bypassing the SD clock frequency prescaler, in order to be
able to get higher SD clock frequencies in some contexts. However, that
commit missed the fact that this value is illegal on the eSDHCv3
instance of the i.MX53. This seems to be the only exception on i.MX,
this value being legal even for the eSDHCv2 instances of the i.MX53.

Fix this issue by changing the minimum prescaler value for the single
instance of the i.MX53 eSDHCv3 controller.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
drivers/mmc/fsl_esdhc.c