diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-03-01 12:14:41 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-03-02 02:59:23 -0500 |
commit | e49a3434f1bc64dc49ff3a56e416bb5894868dde (patch) | |
tree | 7a57fb0f61669be7061c2aa2ea99516dd7bc2bdf /sound | |
parent | b399997008b2beb729822643128d0de29b7edad0 (diff) |
ALSA: hda - Kill hyphenated names
Kill hyphens from "Line-Out" name strings, as suggested by Mark Brown.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/hda_codec.c | 4 | ||||
-rw-r--r-- | sound/pci/hda/patch_cirrus.c | 4 | ||||
-rw-r--r-- | sound/pci/hda/patch_conexant.c | 2 | ||||
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 6 |
4 files changed, 8 insertions, 8 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index 0ae6eb20b13b..684307372d73 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c | |||
@@ -5118,7 +5118,7 @@ static int fill_audio_out_name(struct hda_codec *codec, hda_nid_t nid, | |||
5118 | const char *pfx = "", *sfx = ""; | 5118 | const char *pfx = "", *sfx = ""; |
5119 | 5119 | ||
5120 | /* handle as a speaker if it's a fixed line-out */ | 5120 | /* handle as a speaker if it's a fixed line-out */ |
5121 | if (!strcmp(name, "Line-Out") && attr == INPUT_PIN_ATTR_INT) | 5121 | if (!strcmp(name, "Line Out") && attr == INPUT_PIN_ATTR_INT) |
5122 | name = "Speaker"; | 5122 | name = "Speaker"; |
5123 | /* check the location */ | 5123 | /* check the location */ |
5124 | switch (attr) { | 5124 | switch (attr) { |
@@ -5177,7 +5177,7 @@ int snd_hda_get_pin_label(struct hda_codec *codec, hda_nid_t nid, | |||
5177 | 5177 | ||
5178 | switch (get_defcfg_device(def_conf)) { | 5178 | switch (get_defcfg_device(def_conf)) { |
5179 | case AC_JACK_LINE_OUT: | 5179 | case AC_JACK_LINE_OUT: |
5180 | return fill_audio_out_name(codec, nid, cfg, "Line-Out", | 5180 | return fill_audio_out_name(codec, nid, cfg, "Line Out", |
5181 | label, maxlen, indexp); | 5181 | label, maxlen, indexp); |
5182 | case AC_JACK_SPEAKER: | 5182 | case AC_JACK_SPEAKER: |
5183 | return fill_audio_out_name(codec, nid, cfg, "Speaker", | 5183 | return fill_audio_out_name(codec, nid, cfg, "Speaker", |
diff --git a/sound/pci/hda/patch_cirrus.c b/sound/pci/hda/patch_cirrus.c index bc5a993d1146..c83ccdba1e5a 100644 --- a/sound/pci/hda/patch_cirrus.c +++ b/sound/pci/hda/patch_cirrus.c | |||
@@ -609,7 +609,7 @@ static int add_output(struct hda_codec *codec, hda_nid_t dac, int idx, | |||
609 | "Front Speaker", "Surround Speaker", "Bass Speaker" | 609 | "Front Speaker", "Surround Speaker", "Bass Speaker" |
610 | }; | 610 | }; |
611 | static const char * const line_outs[] = { | 611 | static const char * const line_outs[] = { |
612 | "Front Line-Out", "Surround Line-Out", "Bass Line-Out" | 612 | "Front Line Out", "Surround Line Out", "Bass Line Out" |
613 | }; | 613 | }; |
614 | 614 | ||
615 | fix_volume_caps(codec, dac); | 615 | fix_volume_caps(codec, dac); |
@@ -635,7 +635,7 @@ static int add_output(struct hda_codec *codec, hda_nid_t dac, int idx, | |||
635 | if (num_ctls > 1) | 635 | if (num_ctls > 1) |
636 | name = line_outs[idx]; | 636 | name = line_outs[idx]; |
637 | else | 637 | else |
638 | name = "Line-Out"; | 638 | name = "Line Out"; |
639 | break; | 639 | break; |
640 | } | 640 | } |
641 | 641 | ||
diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c index ca117cf5132f..d29d6d377904 100644 --- a/sound/pci/hda/patch_conexant.c +++ b/sound/pci/hda/patch_conexant.c | |||
@@ -3482,7 +3482,7 @@ static int cx_automute_mode_info(struct snd_kcontrol *kcontrol, | |||
3482 | "Disabled", "Enabled" | 3482 | "Disabled", "Enabled" |
3483 | }; | 3483 | }; |
3484 | static const char * const texts3[] = { | 3484 | static const char * const texts3[] = { |
3485 | "Disabled", "Speaker Only", "Line-Out+Speaker" | 3485 | "Disabled", "Speaker Only", "Line Out+Speaker" |
3486 | }; | 3486 | }; |
3487 | const char * const *texts; | 3487 | const char * const *texts; |
3488 | 3488 | ||
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 4fe2d5960a04..f286bb8fda13 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -802,7 +802,7 @@ static int alc_automute_mode_info(struct snd_kcontrol *kcontrol, | |||
802 | "Disabled", "Enabled" | 802 | "Disabled", "Enabled" |
803 | }; | 803 | }; |
804 | static const char * const texts3[] = { | 804 | static const char * const texts3[] = { |
805 | "Disabled", "Speaker Only", "Line-Out+Speaker" | 805 | "Disabled", "Speaker Only", "Line Out+Speaker" |
806 | }; | 806 | }; |
807 | const char * const *texts; | 807 | const char * const *texts; |
808 | 808 | ||
@@ -1856,7 +1856,7 @@ static const char * const alc_slave_vols[] = { | |||
1856 | "Headphone Playback Volume", | 1856 | "Headphone Playback Volume", |
1857 | "Speaker Playback Volume", | 1857 | "Speaker Playback Volume", |
1858 | "Mono Playback Volume", | 1858 | "Mono Playback Volume", |
1859 | "Line-Out Playback Volume", | 1859 | "Line Out Playback Volume", |
1860 | "CLFE Playback Volume", | 1860 | "CLFE Playback Volume", |
1861 | "Bass Speaker Playback Volume", | 1861 | "Bass Speaker Playback Volume", |
1862 | "PCM Playback Volume", | 1862 | "PCM Playback Volume", |
@@ -1873,7 +1873,7 @@ static const char * const alc_slave_sws[] = { | |||
1873 | "Speaker Playback Switch", | 1873 | "Speaker Playback Switch", |
1874 | "Mono Playback Switch", | 1874 | "Mono Playback Switch", |
1875 | "IEC958 Playback Switch", | 1875 | "IEC958 Playback Switch", |
1876 | "Line-Out Playback Switch", | 1876 | "Line Out Playback Switch", |
1877 | "CLFE Playback Switch", | 1877 | "CLFE Playback Switch", |
1878 | "Bass Speaker Playback Switch", | 1878 | "Bass Speaker Playback Switch", |
1879 | "PCM Playback Switch", | 1879 | "PCM Playback Switch", |