Patch "regulator: s2mpa01: Use correct register for buck1 ramp delay" has been added to the 3.15-stable tree

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

 



This is a note to let you know that I've just added the patch titled

    regulator: s2mpa01: Use correct register for buck1 ramp delay

to the 3.15-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-s2mpa01-use-correct-register-for-buck1-ramp-delay.patch
and it can be found in the queue-3.15 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.


>From 112da5cb43427b843e49b8710f53ecdbb3471d9f Mon Sep 17 00:00:00 2001
From: Krzysztof Kozlowski <k.kozlowski@xxxxxxxxxxx>
Date: Mon, 26 May 2014 10:26:46 +0200
Subject: regulator: s2mpa01: Use correct register for buck1 ramp delay

From: Krzysztof Kozlowski <k.kozlowski@xxxxxxxxxxx>

commit 112da5cb43427b843e49b8710f53ecdbb3471d9f upstream.

Fix the register for ramp delay of buck1 regulator. Buck1 and buck6
share the field (offset 4) in ramp delay register S2MPA01_REG_RAMP2.

The driver used the same register and field for ramp delay of buck3 and
buck1. This lead to updating of ramp delay of buck3 when setting buck1
and actually the ramp delay of buck1 was never set.

Fixes: f18792714608 ("regulator: Add support for S2MPA01 regulator")
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@xxxxxxxxxxx>
Reviewed-by: Sachin Kamat <sachin.kamat@xxxxxxxxxx>
Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

---
 drivers/regulator/s2mpa01.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/regulator/s2mpa01.c
+++ b/drivers/regulator/s2mpa01.c
@@ -116,7 +116,6 @@ static int s2mpa01_set_ramp_delay(struct
 			ramp_delay = s2mpa01->ramp_delay16;
 
 		ramp_shift = S2MPA01_BUCK16_RAMP_SHIFT;
-		ramp_reg = S2MPA01_REG_RAMP1;
 		break;
 	case S2MPA01_BUCK2:
 		enable_shift = S2MPA01_BUCK2_RAMP_EN_SHIFT;


Patches currently in stable-queue which might be from k.kozlowski@xxxxxxxxxxx are

queue-3.15/extcon-max14577-properly-handle-regmap_irq_get_virq-error.patch
queue-3.15/extcon-max14577-fix-probe-failure-on-successful-work-queue.patch
queue-3.15/regulator-s2mpa01-use-correct-register-for-buck1-ramp-delay.patch
queue-3.15/extcon-max77693-fix-two-null-pointer-exceptions-on-missing-pdata.patch
queue-3.15/regulator-s2mps11-fix-accidental-enable-of-buck6-ramp-delay.patch
queue-3.15/extcon-max8997-fix-null-pointer-exception-on-missing-pdata.patch
queue-3.15/regulator-s2mpa01-fix-accidental-enable-of-buck4-ramp-delay.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]