[lkml]   [2011]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[025/101] ASoC: Fix reporting of partial jack updates
2.6.33-longterm review patch.  If anyone has any objections, please let us know.


From: Mark Brown <>

commit 747da0f80e566500421bd7760b2e050fea3fde5e upstream.

We need to report the entire jack state to the core jack code, not just
the bits that were being updated by the caller, otherwise the status
reported by other detection methods will be omitted from the state seen
by userspace.

Signed-off-by: Mark Brown <>
Acked-by: Liam Girdwood <>
Signed-off-by: Greg Kroah-Hartman <>

sound/soc/soc-jack.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/sound/soc/soc-jack.c
+++ b/sound/soc/soc-jack.c
@@ -95,7 +95,7 @@ void snd_soc_jack_report(struct snd_soc_


- snd_jack_report(jack->jack, status);
+ snd_jack_report(jack->jack, jack->status);


 \ /
  Last update: 2011-11-03 03:07    [W:0.193 / U:1.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site