summaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorManish Narani <manish.narani@xilinx.com>2021-06-15 12:43:56 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2021-08-24 10:15:29 +0200
commit4dd7080a78925ff293f1ded598b2010bd4ed3729 (patch)
tree44c7523293c4bc9e01820ead9a1c21a126148185 /drivers/mmc
parentmmc: sdhci-of-arasan: Use appropriate type of division macro (diff)
downloadlinux-4dd7080a78925ff293f1ded598b2010bd4ed3729.tar.xz
linux-4dd7080a78925ff293f1ded598b2010bd4ed3729.zip
mmc: sdhci-of-arasan: Modify data type of the clk_phase array
Modify the data type of the clk_phase array to u32 to make it compatible with the argument requirement of "of_property_read_variable_u32_array". Addresses-coverity: ("incompatible_param") Signed-off-by: Manish Narani <manish.narani@xilinx.com> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Link: https://lore.kernel.org/r/1623753837-21035-7-git-send-email-manish.narani@xilinx.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/sdhci-of-arasan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci-of-arasan.c b/drivers/mmc/host/sdhci-of-arasan.c
index fbcb9b070351..ba425b9563bf 100644
--- a/drivers/mmc/host/sdhci-of-arasan.c
+++ b/drivers/mmc/host/sdhci-of-arasan.c
@@ -1018,7 +1018,7 @@ static void arasan_dt_read_clk_phase(struct device *dev,
{
struct device_node *np = dev->of_node;
- int clk_phase[2] = {0};
+ u32 clk_phase[2] = {0};
/*
* Read Tap Delay values from DT, if the DT does not contain the