cpufreq: Preserve sysfs min/max request
authorAntti P Miettinen <amiettinen@nvidia.com>
Thu, 5 Jan 2012 00:13:23 +0000 (02:13 +0200)
committerVarun Colbert <vcolbert@nvidia.com>
Fri, 20 Jan 2012 00:16:55 +0000 (16:16 -0800)
commitfefa2b7c8b1ffbaba240b92f8b88cf8f5475d88d
tree3be63dd66b212451e578c27f83b2c803f082de18
parent342b5ef42288e6b48528a746aeb35b8b0ca22e1a
cpufreq: Preserve sysfs min/max request

Store the value received via sysfs as the user_policy
min/max value instead of the currently enforced min/max.
This allows restoring the user min/max values when
constraints on enforced min/max change.

Bug 888312

Change-Id: I8a5adf022585e5bd91fa3b1d8d448065efa6827a
Reviewed-on: http://git-master/r/73982
Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/75886
Reviewed-by: Automatic_Commit_Validation_User
drivers/cpufreq/cpufreq.c