commit | 7101e12840e47234aafc08fd5380f8bd210f5918 | [log] [tgz] |
---|---|---|
author | Faiz Abbas <faiz_abbas@ti.com> | Wed Jul 29 07:03:41 2020 +0530 |
committer | Lokesh Vutla <lokeshvutla@ti.com> | Tue Aug 11 20:34:45 2020 +0530 |
tree | beef0b4f716b65c0179934663d3d10dcd97b336b | |
parent | f65e291a6c2ec733f87f3ed054bc5d6a11692bf9 [diff] |
mmc: am654_sdhci: Use MMC_MODES_END value instead of hardcoded value The hardcoded array size leads to array overflows with changes in speed modes enum in mmc core. Use MMC_MODES_END for otap_del_sel array declaration to fix this. Signed-off-by: Faiz Abbas <faiz_abbas@ti.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>