mmc: sdhci_am654: Fix itapdly/otapdly array type
authorJudith Mendez <jm@ti.com>
Wed, 20 Mar 2024 22:38:34 +0000 (17:38 -0500)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 2 Apr 2024 10:21:39 +0000 (12:21 +0200)
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>
drivers/mmc/host/sdhci_am654.c

index 562034af653ebbff3ab8347a28a8f8e83930e8c4..2dd32373e0710d1ff9f4ab3de04d8825595f541c 100644 (file)
@@ -141,8 +141,8 @@ static const struct timing_data td[] = {
 
 struct sdhci_am654_data {
        struct regmap *base;
-       int otap_del_sel[ARRAY_SIZE(td)];
-       int itap_del_sel[ARRAY_SIZE(td)];
+       u32 otap_del_sel[ARRAY_SIZE(td)];
+       u32 itap_del_sel[ARRAY_SIZE(td)];
        u32 itap_del_ena[ARRAY_SIZE(td)];
        int clkbuf_sel;
        int trm_icp;