summaryrefslogtreecommitdiff
path: root/mm/pgtable-generic.c
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2011-10-05 07:29:20 (GMT)
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-10-05 16:10:09 (GMT)
commite49b68339ebc7d2e67dc1ae16a4ac6a35fcfc9d5 (patch)
tree7eb6036750246c16945705d994587f2a1d665310 /mm/pgtable-generic.c
parent0f9887d11e7c59ebae5e464f30a6dde788ed9011 (diff)
downloadlinux-fsl-qoriq-e49b68339ebc7d2e67dc1ae16a4ac6a35fcfc9d5.tar.xz
ASoC: twl6040: Simplify custom get_volsw callback
The custom get_volsw does not need to call any core get_volsw calls, since we are returning the shadow values for the gains. Return -EINVAL in the unlikely event, if the function has been called for unhandled control. This way we can remove one check in the code. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'mm/pgtable-generic.c')
0 files changed, 0 insertions, 0 deletions