OSDN Git Service

ASoC: rsnd: Add Volume Ramp support
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 10 Nov 2014 03:52:06 +0000 (19:52 -0800)
committerMark Brown <broonie@kernel.org>
Mon, 10 Nov 2014 15:14:10 +0000 (15:14 +0000)
commit3539cacff2031f6d47881c5f3a4932b0ad5ec224
tree17c9cf8196f6562698221134a9126bcca5d9bd79
parentd3a768233243b5892a9c74b85896b9e8c017b259
ASoC: rsnd: Add Volume Ramp support

This patch adds Volume Ramp to Renesas sound driver.

amixer set "DVC Out" 100%
amixer set "DVC Out Ramp Up Rate"   "0.125 dB/64 steps"
amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps"
amixer set "DVC Out Ramp" on
aplay xxx.wav &
amixer set "DVC Out"  80%  // Volume Down
amixer set "DVC Out" 100%  // Volume Up

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/dvc.c
sound/soc/sh/rcar/gen.c
sound/soc/sh/rcar/rsnd.h