ASoC: rsnd: add struct rsnd_dvc_cfg and control DVC settings
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 22 Oct 2014 01:14:14 +0000 (18:14 -0700)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 5 Dec 2014 04:21:50 +0000 (13:21 +0900)
commitb0a3797cddb507cd0d4d6c28d4279ab947f202d9
tree147b98ed184775a57f7a58b50483a8279f939807
parentfafc0955d0594cb1c3fb42fbf3e3d07553df1cb4
ASoC: rsnd: add struct rsnd_dvc_cfg and control DVC settings

DVC can control Digital Volume / Mute / Volume Ramp etc,
and these uses different max value.
Current driver is using fixed max value for each settings.
This patch adds new struct rsnd_dvc_cfg, and control these.

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