ASoC: Fix reporting of partial jack updates
commitc1601d1bba798e168c010889df5cbc2a3a8b7e93
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 4 Sep 2011 15:18:18 +0000 (4 08:18 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 7 Nov 2011 20:32:01 +0000 (7 12:32 -0800)
tree3633eb5f7f4e2e0923c929741a53815b4630aaff
parent4bf38f8cbdec598e77f8f28910256e16913fcdbb
ASoC: Fix reporting of partial jack updates

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 <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/soc/soc-jack.c