projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1ae3cf
)
ASoC: rt5665: fix getting wrong work handler container
author
Bard Liao
<bardliao@realtek.com>
Wed, 8 Mar 2017 11:03:10 +0000
(19:03 +0800)
committer
Mark Brown
<broonie@kernel.org>
Wed, 8 Mar 2017 12:44:10 +0000
(13:44 +0100)
We got rt5665 private data from wrong work. It will result in kernel
panic.
Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
sound/soc/codecs/rt5665.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/rt5665.c
b/sound/soc/codecs/rt5665.c
index 324461e985b3918211ad29052a5142a6560e26af..fe2cf1ed8237a4f1a3ec5694db4140a76913fd50 100644
(file)
--- a/
sound/soc/codecs/rt5665.c
+++ b/
sound/soc/codecs/rt5665.c
@@
-1241,7
+1241,7
@@
static irqreturn_t rt5665_irq(int irq, void *data)
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 */