Skip to content

Commit a66db81

Browse files
jmentiUlf Hansson
authored andcommitted
mmc: sdhci_am654: Fix itapdly/otapdly array type
While integer type works, the otap_del_sel and itap_del_sel arrays are manipulated as u32, so change array types to u32. Signed-off-by: Judith Mendez <jm@ti.com> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Link: https://lore.kernel.org/r/20240320223837.959900-5-jm@ti.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
1 parent d318293 commit a66db81

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/mmc/host/sdhci_am654.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@ static const struct timing_data td[] = {
141141

142142
struct sdhci_am654_data {
143143
struct regmap *base;
144-
int otap_del_sel[ARRAY_SIZE(td)];
145-
int itap_del_sel[ARRAY_SIZE(td)];
144+
u32 otap_del_sel[ARRAY_SIZE(td)];
145+
u32 itap_del_sel[ARRAY_SIZE(td)];
146146
u32 itap_del_ena[ARRAY_SIZE(td)];
147147
int clkbuf_sel;
148148
int trm_icp;

0 commit comments

Comments
 (0)