This is a note to let you know that I've just added the patch titled
regulator: Fix setting selector in tps6524x set_voltage function
to the 3.0-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
regulator-fix-setting-selector-in-tps6524x-set_voltage-function.patch
and it can be found in the queue-3.0 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From f03570cf1709397ebe656608266b44ec772960c2 Mon Sep 17 00:00:00 2001
From: Axel Lin <[email protected]>
Date: Thu, 8 Mar 2012 10:02:17 +0800
Subject: regulator: Fix setting selector in tps6524x set_voltage function
From: Axel Lin <[email protected]>
commit f03570cf1709397ebe656608266b44ec772960c2 upstream.
Don't assign the voltage to selector.
Signed-off-by: Axel Lin <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
drivers/regulator/tps6524x-regulator.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/regulator/tps6524x-regulator.c
+++ b/drivers/regulator/tps6524x-regulator.c
@@ -481,7 +481,7 @@ static int set_voltage(struct regulator_
if (i >= info->n_voltages)
i = info->n_voltages - 1;
- *selector = info->voltages[i];
+ *selector = i;
return write_field(hw, &info->voltage, i);
}
Patches currently in stable-queue which might be from [email protected] are
queue-3.0/regulator-fix-setting-selector-in-tps6524x-set_voltage-function.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html