soc/tegra: pmc: Correct type of variable for tegra_pmc_readl()
The function tegra_pmc_readl() returns the u32 type data and hence change the data type of variable where this data is stored to u32 type. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
parent
6c0bd217c3
commit
84cf85ea6e
|
@ -942,10 +942,10 @@ static int tegra_io_rail_prepare(unsigned int id, unsigned long *request,
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int tegra_io_rail_poll(unsigned long offset, unsigned long mask,
|
static int tegra_io_rail_poll(unsigned long offset, u32 mask,
|
||||||
unsigned long val, unsigned long timeout)
|
u32 val, unsigned long timeout)
|
||||||
{
|
{
|
||||||
unsigned long value;
|
u32 value;
|
||||||
|
|
||||||
timeout = jiffies + msecs_to_jiffies(timeout);
|
timeout = jiffies + msecs_to_jiffies(timeout);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue