]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: omap_hsmmc: Add guards around omap_hsmmc_get_cfg()
authorTom Rini <trini@konsulko.com>
Thu, 4 Jun 2020 20:03:55 +0000 (16:03 -0400)
committerLokesh Vutla <lokeshvutla@ti.com>
Tue, 16 Jun 2020 11:30:02 +0000 (17:00 +0530)
commit2af17e2573e8f4b949658ac45cad2e825e5aedc0
treeab3ea11f8fb7b751ad21d444eeb78071d9f20640
parenta37f765219870e4cb4ed9590dff77ed8a380a462
mmc: omap_hsmmc: Add guards around omap_hsmmc_get_cfg()

We only call the function omap_hsmmc_get_cfg in the case of OMAP34XX or
when we have to iodelay recalibration.  Add guards for these checks as
clang will otherwise warn.

Cc: Peng Fan <peng.fan@nxp.com>
Cc: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
drivers/mmc/omap_hsmmc.c