2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-15 17:14:00 +08:00

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>
This commit is contained in:
Manish Narani 2021-06-15 16:13:56 +05:30 committed by Ulf Hansson
parent 462f58fdb8
commit 4dd7080a78

View File

@ -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