Re: [PATCH] OMAP3: PM: Do not allow OPP1 for VDD2

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

 



"Reddy, Teerth" <teerth@xxxxxx> writes:

> From 144669d941a432875db37ae9431847f6753e566e Mon Sep 17 00:00:00 2001
> From: Teerth Reddy <teerth@xxxxxx>
> Date: Wed, 9 Sep 2009 11:01:04 +0530
> Subject: OMAP3: PM: Do not allow OPP1 for VDD2
>
> Since OPP1 is not a supported OPP for VDD2, do not allow it to
> be changed using the sysfs interface.
>
> Signed-off-by: Teerth Reddy <teerth@xxxxxx>

Thanks, pulling into PM branch.

Kevin

> ---
>  arch/arm/mach-omap2/pm.c |    2 +-
>  1 files changed, 1 insertion(+), 1 deletion(-)
>
> Index: linux-omap-pm/arch/arm/mach-omap2/pm.c
> ===================================================================
> --- linux-omap-pm.orig/arch/arm/mach-omap2/pm.c
> +++ linux-omap-pm/arch/arm/mach-omap2/pm.c
> @@ -144,7 +144,7 @@ static ssize_t vdd_opp_store(struct kobj
>  		}
>  		resource_set_opp_level(VDD1_OPP, value, flags);
>  	} else if (attr == &vdd2_opp_attr) {
> -		if (value < 1 || value > 3) {
> +		if (value < 2 || value > 3) {
>  			printk(KERN_ERR "vdd_opp_store: Invalid value\n");
>  			return -EINVAL;
>  		}
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux