diff options
| author | Jassi Brar <jassi.brar@samsung.com> | 2010-01-28 20:57:07 -0500 |
|---|---|---|
| committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-01-29 09:02:34 -0500 |
| commit | 9e9d04c05fd01018da35fa1daa9bda844cac6162 (patch) | |
| tree | 43b8eae3a7a6908ad6438918a3ab7a9667b965b5 | |
| parent | 2718625fba1e07bf2ce8a752036658737c1f76a7 (diff) | |
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>
| -rw-r--r-- | sound/soc/s3c24xx/smdk_wm9713.c | 23 |
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; | |||
| 29 | 29 | ||
| 30 | /* | 30 | /* |
| 31 | Playback (HeadPhone):- | 31 | Playback (HeadPhone):- |
| 32 | Headphone Playback Switch - On | 32 | $ amixer sset 'Headphone' unmute |
| 33 | $ amixer cset numid=4 1 | 33 | $ amixer sset 'Right Headphone Out Mux' 'Headphone' |
| 34 | 34 | $ amixer sset 'Left Headphone Out Mux' 'Headphone' | |
| 35 | Right Headphone Out Mux - Headphone | 35 | $ amixer sset 'Right HP Mixer PCM' unmute |
| 36 | $ amixer cset numid=92 2 | 36 | $ amixer sset 'Left HP Mixer PCM' unmute |
| 37 | Left Headphone Out Mux - Headphone | ||
| 38 | $ amixer cset numid=93 2 | ||
| 39 | |||
| 40 | Right HP Mixer PCM Playback Switch - On | ||
| 41 | $ amixer cset numid=75 1 | ||
| 42 | Left HP Mixer PCM Playback Switch - On | ||
| 43 | $ amixer cset numid=81 1 | ||
| 44 | 37 | ||
| 45 | Capture (LineIn):- | 38 | Capture (LineIn):- |
| 46 | Right Capture Source - Line | 39 | $ amixer sset 'Right Capture Source' 'Line' |
| 47 | $ amixer cset numid=86 2 | 40 | $ amixer sset 'Left Capture Source' 'Line' |
| 48 | Left Capture Source - Line | ||
| 49 | $ amixer cset numid=87 2 | ||
| 50 | */ | 41 | */ |
| 51 | 42 | ||
| 52 | static struct snd_soc_dai_link smdk_dai = { | 43 | static struct snd_soc_dai_link smdk_dai = { |
