ASoC: rsnd: move DVC_DVUER settings under rsnd_dvc_volume_update()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 5 Nov 2014 04:27:18 +0000 (20:27 -0800)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 5 Dec 2014 04:21:50 +0000 (13:21 +0900)
commit0a89c71cab4f4e6939403463e4189b6d634c3266
tree1014e772d2e866c41a1327f2a971e788db98b007
parentf5adcff87530a83516f7398c915e15b83232c55f
ASoC: rsnd: move DVC_DVUER settings under rsnd_dvc_volume_update()

We need to Enable/Disable DVC_DVUER register if we set
DVCp_ZCMCR, DVCp_VRCTR, DVCp_VRPDR, DVCp_VRDBR,
DVCp_VOL0R, DVCp_VOL1R, DVCp_VOL2R, DVCp_VOL3R,
DVCp_VOL4R, DVCp_VOL5R, DVCp_VOL6R, DVCp_VOL7R
and, these are controlled under rsnd_dvc_volume_update().
This patch moves DVC_DVUER settings to it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
(cherry picked from commit 140bab8961eb4047070b46a6dd50ec87496e0cde)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
sound/soc/sh/rcar/dvc.c