From: Mark Brown Date: Thu, 16 Dec 2010 15:49:37 +0000 (+0000) Subject: regulator: Optimise out noop voltage changes X-Git-Tag: v2.6.38-rc1~242^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95a3c23ae620c1b4c499746e70f4034bdc067737;p=pandora-kernel.git regulator: Optimise out noop voltage changes If a consumer sets the same voltage range as is currently configured for that consumer there's no need to run through setting the voltage again. This pattern may occur with some CPUfreq implementations where the same voltage range is used for multiple frequencies. Reported-by: Saravana Kannan Signed-off-by: Mark Brown Signed-off-by: Liam Girdwood --- Reading git-diff-tree failed