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)
commit9bde4f0b1c83d1129a9fc8ec5b2611ba6dab1215
treee93c78b38f234efd10b42a4c7576a7ceeb3112f1
parent08b27848da620f206a8b6d80f26184485dd7aa40
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