]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: core: Combine snd_soc_put_volsw/put_volsw_2r functions
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Wed, 5 Oct 2011 07:29:25 +0000 (10:29 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 5 Oct 2011 16:10:10 +0000 (17:10 +0100)
commita3d7b1bd082279740e3abe9f79ef97dd36956d60
treed3b702b3b1189615106d889b19d192b37afc08d7
parent4c5f5cf6c4c17ba6e678ae371644c5947181d2be
ASoC: core: Combine snd_soc_put_volsw/put_volsw_2r functions

Handle the put_volsw/put_volsw_2r in one function.

To avoid build breakage in twl6040 keep the
snd_soc_put_volsw_2r as define, and map it snd_soc_put_volsw.

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