mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-02 20:13:04 -05: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:
committed by
Ulf Hansson
parent
462f58fdb8
commit
4dd7080a78
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user