Re: [PATCH] ARM: tegra30: make the wait time of CPU power up to proportional to HZ

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/06/2013 07:56 PM, Joseph Lo wrote:
> It would rather to use the API of time_to_jiffies than a constant number
> of jiffies for the wait time of CPU power up.
> 
> Based on the work by:
> Sang-Hun Lee <sanlee@xxxxxxxxxx>

Applied to Tegra's for-3.9/soc branch.

> diff --git a/arch/arm/mach-tegra/platsmp.c b/arch/arm/mach-tegra/platsmp.c

> -		timeout = jiffies + 5*HZ;
> +		timeout = jiffies + msecs_to_jiffies(50);

I did just want to confirm though; I think that changes the timeout from
5 seconds to 50mS and similarly for the other change. I assume that was
intended? The code certainly seemed to work just fine with this change
when I tested it.
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux