UPSTREAM: 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>

BUG=chrome-os-partner:24052
TEST=Check the speaker volumes after makimg them maxium by volum key.
Make sure they are real maximum values with i2cdump.

Change-Id: I7e7ab9690fdad329f66cfdb5413d5cef3be07933
Signed-off-by: JaeHyun Lee <jh851815.lee@samsung.com>
Reviewed-on: https://chromium-review.googlesource.com/176774
Tested-by: Wonjoon Lee <woojoo.lee@samsung.com>
Reviewed-by: Chih-Chung Chang <chihchung@chromium.org>
Commit-Queue: Katie Roberts-Hoffman <katierh@chromium.org>
2 files changed