ASoC: Fix reporting of partial jack updates
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 4 Sep 2011 15:18:18 +0000 (08:18 -0700)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 6 Sep 2011 01:10:52 +0000 (18:10 -0700)
commit747da0f80e566500421bd7760b2e050fea3fde5e
treedb5635ebd8042791d7f4ed48aea0538154bb81ff
parent117ef9570bf3a332eca443231f41dd3a52fcfb2c
ASoC: Fix reporting of partial jack updates

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>
Cc: stable@kernel.org
sound/soc/soc-jack.c