]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: twl6040: Prepare for core put_volsw/volsw_2r merger
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Wed, 5 Oct 2011 07:29:21 +0000 (10:29 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 5 Oct 2011 16:10:09 +0000 (17:10 +0100)
commitd0d747f27d5bf1ab673823502eeaf8abd67bd57f
treea8034904275d216850ae07296ac0ac9c2597d5af
parent4b2220a264f7e9626975eb68ae751aa0d708a312
ASoC: twl6040: Prepare for core put_volsw/volsw_2r merger

Avoid using the mc->rreg to identify the 2r type of gain control.
Introduce a variable to track this.
This change is needed to avoid breakage with the upcoming volsw volsw_2r
merger.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/twl6040.c