OSDN Git Service

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)
committerMark Brown <broonie@kernel.org>
Thu, 6 Nov 2014 17:04:31 +0000 (17:04 +0000)
commit140bab8961eb4047070b46a6dd50ec87496e0cde
treeffa3f980f7e1d133baab9b0871fbde99bb7df4ef
parent1c5d1c988302f324ac396ac13461d59d091be605
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>
sound/soc/sh/rcar/dvc.c