Skip to contentSkip to conversation

Patch "ASoC: rt5665: fix getting wrong work handler container" has been added to the 4.10-stable tree

PATCH [email protected] 1 participant 1 message Apr 3, 2017

Subsystems (4)
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

ASoC: rt5665: fix getting wrong work handler container

to the 4.10-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:
asoc-rt5665-fix-getting-wrong-work-handler-container.patch
and it can be found in the queue-4.10 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 f1994a9c0930de4b2244816e62120cad08283cdc Mon Sep 17 00:00:00 2001

From: Bard Liao <[email protected]>
Date: Wed, 8 Mar 2017 19:03:10 +0800
Subject: ASoC: rt5665: fix getting wrong work handler container

From: Bard Liao <[email protected]>

commit f1994a9c0930de4b2244816e62120cad08283cdc upstream.

We got rt5665 private data from wrong work. It will result in kernel panic.

---
 sound/soc/codecs/rt5665.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/codecs/rt5665.c +1 -1
@@ -1241,7 +1241,7 @@ static irqreturn_t rt5665_irq(int irq, v
 static void rt5665_jd_check_handler(struct work_struct *work)
 {
 	struct rt5665_priv *rt5665 = container_of(work, struct rt5665_priv,
-		calibrate_work.work);
+		jd_check_work.work);
 
 	if (snd_soc_read(rt5665->codec, RT5665_AJD1_CTRL) & 0x0010) {
 		/* jack out */

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

queue-4.10/asoc-rt5665-fix-getting-wrong-work-handler-container.patch