Skip to contentSkip to conversation

Patch "extcon: max77843: Use correct size for reading the interrupt register" has been added to the 4.4-stable tree

PATCH [email protected] 1 participant 1 message May 3, 2016

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

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

extcon: max77843: Use correct size for reading the interrupt register

to the 4.4-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:
extcon-max77843-use-correct-size-for-reading-the-interrupt-register.patch
and it can be found in the queue-4.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From c4924e92442d7218bd725e47fa3988c73aae84c9 Mon Sep 17 00:00:00 2001

From: Dan Carpenter <[email protected]>
Date: Thu, 4 Feb 2016 14:36:09 +0300
Subject: extcon: max77843: Use correct size for reading the interrupt register

From: Dan Carpenter <[email protected]>

commit c4924e92442d7218bd725e47fa3988c73aae84c9 upstream.

The info->status[] array has 3 elements. We are using size MAX77843_MUIC_IRQ_NUM (16) instead of MAX77843_MUIC_STATUS_NUM (3) as intended.

Fixes 135d9f7d135a ('extcon: max77843: Clear IRQ bits state before request IRQ')
[cw00.choi: Modify the patch title]
---
 drivers/extcon/extcon-max77843.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/extcon/extcon-max77843.c +1 -1
@@ -803,7 +803,7 @@ static int max77843_muic_probe(struct pl
 	/* Clear IRQ bits before request IRQs */
 	ret = regmap_bulk_read(max77843->regmap_muic,
 			MAX77843_MUIC_REG_INT1, info->status,
-			MAX77843_MUIC_IRQ_NUM);
+			MAX77843_MUIC_STATUS_NUM);
 	if (ret) {
 		dev_err(&pdev->dev, "Failed to Clear IRQ bits\n");
 		goto err_muic_irq;

Patches currently in stable-queue which might be from [email protected] are

queue-4.4/misc-mic-scif-fix-wrap-around-tests.patch queue-4.4/drm-amdkfd-uninitialized-variable-in-dbgdev_wave_control_set_registers.patch queue-4.4/rtc-ds1685-passing-bogus-values-to-irq_restore.patch queue-4.4/thermal-rockchip-fix-a-impossible-condition-caused-by-the-warning.patch queue-4.4/extcon-max77843-use-correct-size-for-reading-the-interrupt-register.patch