Skip to content
Snippets Groups Projects
Commit 7d6f45a2 authored by Faiz Abbas's avatar Faiz Abbas Committed by Lokesh Vutla
Browse files

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: default avatarFaiz Abbas <faiz_abbas@ti.com>
Reviewed-by: Peng Fan's avatarPeng Fan <peng.fan@nxp.com>
parent f3f2018f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment