diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-11-16 05:33:41 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-11-16 05:33:41 -0500 |
commit | fe705ab1526bc2c8b7756f3a855f040ab2060af2 (patch) | |
tree | c4444d19983c5578f9ef2bddc1fa01b6e42f91a3 /sound/pci/hda/patch_sigmatel.c | |
parent | 7d1794e81b5f202c73d7e3e65f0ee7aae4928038 (diff) | |
parent | ad1cd745060ae2f24026b3b3d09da3426df6ab36 (diff) |
Merge branch 'topic/beep-rename' into topic/hda
Diffstat (limited to 'sound/pci/hda/patch_sigmatel.c')
-rw-r--r-- | sound/pci/hda/patch_sigmatel.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c index 2d3e2e415eb0..8d65d2b25234 100644 --- a/sound/pci/hda/patch_sigmatel.c +++ b/sound/pci/hda/patch_sigmatel.c | |||
@@ -3226,7 +3226,7 @@ static int stac92xx_auto_create_beep_ctls(struct hda_codec *codec, | |||
3226 | /* check for mute support for the the amp */ | 3226 | /* check for mute support for the the amp */ |
3227 | if ((caps & AC_AMPCAP_MUTE) >> AC_AMPCAP_MUTE_SHIFT) { | 3227 | if ((caps & AC_AMPCAP_MUTE) >> AC_AMPCAP_MUTE_SHIFT) { |
3228 | err = stac92xx_add_control(spec, STAC_CTL_WIDGET_MUTE, | 3228 | err = stac92xx_add_control(spec, STAC_CTL_WIDGET_MUTE, |
3229 | "PC Beep Playback Switch", | 3229 | "Beep Playback Switch", |
3230 | HDA_COMPOSE_AMP_VAL(nid, 1, 0, HDA_OUTPUT)); | 3230 | HDA_COMPOSE_AMP_VAL(nid, 1, 0, HDA_OUTPUT)); |
3231 | if (err < 0) | 3231 | if (err < 0) |
3232 | return err; | 3232 | return err; |
@@ -3235,7 +3235,7 @@ static int stac92xx_auto_create_beep_ctls(struct hda_codec *codec, | |||
3235 | /* check to see if there is volume support for the amp */ | 3235 | /* check to see if there is volume support for the amp */ |
3236 | if ((caps & AC_AMPCAP_NUM_STEPS) >> AC_AMPCAP_NUM_STEPS_SHIFT) { | 3236 | if ((caps & AC_AMPCAP_NUM_STEPS) >> AC_AMPCAP_NUM_STEPS_SHIFT) { |
3237 | err = stac92xx_add_control(spec, STAC_CTL_WIDGET_VOL, | 3237 | err = stac92xx_add_control(spec, STAC_CTL_WIDGET_VOL, |
3238 | "PC Beep Playback Volume", | 3238 | "Beep Playback Volume", |
3239 | HDA_COMPOSE_AMP_VAL(nid, 1, 0, HDA_OUTPUT)); | 3239 | HDA_COMPOSE_AMP_VAL(nid, 1, 0, HDA_OUTPUT)); |
3240 | if (err < 0) | 3240 | if (err < 0) |
3241 | return err; | 3241 | return err; |
@@ -3276,7 +3276,7 @@ static struct snd_kcontrol_new stac92xx_dig_beep_ctrl = { | |||
3276 | static int stac92xx_beep_switch_ctl(struct hda_codec *codec) | 3276 | static int stac92xx_beep_switch_ctl(struct hda_codec *codec) |
3277 | { | 3277 | { |
3278 | return stac92xx_add_control_temp(codec->spec, &stac92xx_dig_beep_ctrl, | 3278 | return stac92xx_add_control_temp(codec->spec, &stac92xx_dig_beep_ctrl, |
3279 | 0, "PC Beep Playback Switch", 0); | 3279 | 0, "Beep Playback Switch", 0); |
3280 | } | 3280 | } |
3281 | #endif | 3281 | #endif |
3282 | 3282 | ||