]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: core: Fix SOC_DOUBLE_RANGE() macros
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 19 Dec 2012 16:05:00 +0000 (16:05 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 20 Dec 2012 17:46:55 +0000 (17:46 +0000)
commit0571bae5fd90e65b6a1de390a1f788ccaad98d9e
treee93c78b38f234efd10b42a4c7576a7ceeb3112f1
parent65ae3017dfa12a459000a5ab023d87af3f00c9bd
ASoC: core: Fix SOC_DOUBLE_RANGE() macros

Although we've had macros defining double _RANGE controls for a while now
they've not actually been backed up properly by the implementation, it's
treated everything as mono. Fix that by implementing the handling in the
stereo controls, ensuring that the mono controls don't mistakenly get
treated as stereo.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
include/sound/soc.h
sound/soc/soc-core.c