diff options
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 8eb6508cd991..e18a439ba51f 100644 --- a/sound/pci/hda/patch_sigmatel.c +++ b/sound/pci/hda/patch_sigmatel.c | |||
| @@ -3224,7 +3224,7 @@ static int stac92xx_auto_create_beep_ctls(struct hda_codec *codec, | |||
| 3224 | /* check for mute support for the the amp */ | 3224 | /* check for mute support for the the amp */ |
| 3225 | if ((caps & AC_AMPCAP_MUTE) >> AC_AMPCAP_MUTE_SHIFT) { | 3225 | if ((caps & AC_AMPCAP_MUTE) >> AC_AMPCAP_MUTE_SHIFT) { |
| 3226 | err = stac92xx_add_control(spec, STAC_CTL_WIDGET_MUTE, | 3226 | err = stac92xx_add_control(spec, STAC_CTL_WIDGET_MUTE, |
| 3227 | "PC Beep Playback Switch", | 3227 | "Beep Playback Switch", |
| 3228 | HDA_COMPOSE_AMP_VAL(nid, 1, 0, HDA_OUTPUT)); | 3228 | HDA_COMPOSE_AMP_VAL(nid, 1, 0, HDA_OUTPUT)); |
| 3229 | if (err < 0) | 3229 | if (err < 0) |
| 3230 | return err; | 3230 | return err; |
| @@ -3233,7 +3233,7 @@ static int stac92xx_auto_create_beep_ctls(struct hda_codec *codec, | |||
| 3233 | /* check to see if there is volume support for the amp */ | 3233 | /* check to see if there is volume support for the amp */ |
| 3234 | if ((caps & AC_AMPCAP_NUM_STEPS) >> AC_AMPCAP_NUM_STEPS_SHIFT) { | 3234 | if ((caps & AC_AMPCAP_NUM_STEPS) >> AC_AMPCAP_NUM_STEPS_SHIFT) { |
| 3235 | err = stac92xx_add_control(spec, STAC_CTL_WIDGET_VOL, | 3235 | err = stac92xx_add_control(spec, STAC_CTL_WIDGET_VOL, |
| 3236 | "PC Beep Playback Volume", | 3236 | "Beep Playback Volume", |
| 3237 | HDA_COMPOSE_AMP_VAL(nid, 1, 0, HDA_OUTPUT)); | 3237 | HDA_COMPOSE_AMP_VAL(nid, 1, 0, HDA_OUTPUT)); |
| 3238 | if (err < 0) | 3238 | if (err < 0) |
| 3239 | return err; | 3239 | return err; |
| @@ -3274,7 +3274,7 @@ static struct snd_kcontrol_new stac92xx_dig_beep_ctrl = { | |||
| 3274 | static int stac92xx_beep_switch_ctl(struct hda_codec *codec) | 3274 | static int stac92xx_beep_switch_ctl(struct hda_codec *codec) |
| 3275 | { | 3275 | { |
| 3276 | return stac92xx_add_control_temp(codec->spec, &stac92xx_dig_beep_ctrl, | 3276 | return stac92xx_add_control_temp(codec->spec, &stac92xx_dig_beep_ctrl, |
| 3277 | 0, "PC Beep Playback Switch", 0); | 3277 | 0, "Beep Playback Switch", 0); |
| 3278 | } | 3278 | } |
| 3279 | #endif | 3279 | #endif |
| 3280 | 3280 | ||
