summaryrefslogtreecommitdiffstats
path: root/sound/soc/s3c24xx
diff options
context:
space:
mode:
authorJassi Brar <jassi.brar@samsung.com>2010-01-29 10:57:07 +0900
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-01-29 14:02:34 +0000
commit9e9d04c05fd01018da35fa1daa9bda844cac6162 (patch)
tree43b8eae3a7a6908ad6438918a3ab7a9667b965b5 /sound/soc/s3c24xx
parent2718625fba1e07bf2ce8a752036658737c1f76a7 (diff)
downloadlinux-9e9d04c05fd01018da35fa1daa9bda844cac6162.tar.bz2
ASoC: AC97: SMDK-WM9713: Convert notes from cset to sset
It's more robust when references are provided in control names rather than numid. Signed-off-by: Jassi Brar <jassi.brar@samsung.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/s3c24xx')
-rw-r--r--sound/soc/s3c24xx/smdk_wm9713.c23
1 files changed, 7 insertions, 16 deletions
diff --git a/sound/soc/s3c24xx/smdk_wm9713.c b/sound/soc/s3c24xx/smdk_wm9713.c
index 6fa2c9d17d7a..24fd39f38ccb 100644
--- a/sound/soc/s3c24xx/smdk_wm9713.c
+++ b/sound/soc/s3c24xx/smdk_wm9713.c
@@ -29,24 +29,15 @@ static struct snd_soc_card smdk;
/*
Playback (HeadPhone):-
- Headphone Playback Switch - On
- $ amixer cset numid=4 1
-
- Right Headphone Out Mux - Headphone
- $ amixer cset numid=92 2
- Left Headphone Out Mux - Headphone
- $ amixer cset numid=93 2
-
- Right HP Mixer PCM Playback Switch - On
- $ amixer cset numid=75 1
- Left HP Mixer PCM Playback Switch - On
- $ amixer cset numid=81 1
+ $ amixer sset 'Headphone' unmute
+ $ amixer sset 'Right Headphone Out Mux' 'Headphone'
+ $ amixer sset 'Left Headphone Out Mux' 'Headphone'
+ $ amixer sset 'Right HP Mixer PCM' unmute
+ $ amixer sset 'Left HP Mixer PCM' unmute
Capture (LineIn):-
- Right Capture Source - Line
- $ amixer cset numid=86 2
- Left Capture Source - Line
- $ amixer cset numid=87 2
+ $ amixer sset 'Right Capture Source' 'Line'
+ $ amixer sset 'Left Capture Source' 'Line'
*/
static struct snd_soc_dai_link smdk_dai = {