]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: fsl_esdhc_imx: Fix host_caps issue for non-DM driver
authorYe Li <ye.li@nxp.com>
Tue, 1 Oct 2024 13:07:55 +0000 (21:07 +0800)
committerFabio Estevam <festevam@gmail.com>
Fri, 4 Oct 2024 12:15:15 +0000 (09:15 -0300)
commitc820d330680bf8d1193e2557ab3e4c76a7dc9da4
tree1d468db3a6e26a85a83e2345013bd861d1fa465d
parent51e7c1f822fa222d88d1ee06995cf355542427cc
mmc: fsl_esdhc_imx: Fix host_caps issue for non-DM driver

The plat->cfg is wrongly memset to 0, so the host_caps value configured
in fsl_esdhc_initialize is reset. Remove the unnecessary memset since
plat is allocated via calloc.

Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/mmc/fsl_esdhc_imx.c