summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2011-09-26 16:26:25 +0300
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-09-26 22:23:32 +0100
commita8cc7189cd1ff7856ef688af3a492668e30dda02 (patch)
treeddba695cb0dc82e04ab308958686bd58b2ff8529 /include/linux
parenteb6b71e7d964ee4934c65a954dd5738a1bf3d0e8 (diff)
ASoC: twl6040: Combine the custom volsw get, and put functions
We can manage with one set of get, and put function for the gain controls we need to handle with custom code due to the shadowing of the register. For both get, and put function we can call decide based on the mc->rreg value, if we need to call the volsw, or the vlosw_2r variant (in 2r case rreg is not 0). Handling of the shadow values are the same for both type of controls. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions