Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 353029
b: refs/heads/master
c: 20c18f5
h: refs/heads/master
i:
  353027: 4ef5512
v: v3
  • Loading branch information
Takashi Iwai committed Jan 12, 2013
1 parent d5174af commit 03bfec8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 16 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 480967db6c5ac0c2cd4582a73ee8aaaffda66d51
refs/heads/master: 20c18f562a4d0494dd2b99e19cfeb33f55c9c50e
17 changes: 2 additions & 15 deletions trunk/sound/pci/hda/patch_realtek.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ struct alc_multi_io {
unsigned int ctl_in; /* cached input-pin control value */
};

#define MAX_VOL_NIDS 0x40

/* make compatible with old code */
#define alc_apply_pincfgs snd_hda_apply_pincfgs
#define alc_apply_fixup snd_hda_apply_fixup
Expand Down Expand Up @@ -161,7 +159,6 @@ struct alc_spec {
unsigned int cur_adc_format;

/* capture source */
unsigned int num_mux_defs;
struct hda_input_mux input_mux;
unsigned int cur_mux[3];
hda_nid_t ext_mic_pin;
Expand All @@ -171,7 +168,6 @@ struct alc_spec {
/* channel model */
const struct hda_channel_mode *channel_mode;
int num_channel_mode;
int need_dac_fix;
int const_channel_count; /* min. channel count (for speakers) */
int ext_channel_count; /* current channel count for multi-io */

Expand Down Expand Up @@ -218,19 +214,15 @@ struct alc_spec {
unsigned int keep_vref_in_automute:1; /* Don't clear VREF in automute */

/* other flags */
unsigned int need_dac_fix:1; /* need to limit DACs for multi channels */
unsigned int no_analog :1; /* digital I/O only */
unsigned int dyn_adc_switch:1; /* switch ADCs (for ALC275) */
unsigned int single_input_src:1;
unsigned int vol_in_capsrc:1; /* use capsrc volume (ADC has no vol) */
unsigned int parse_flags; /* passed to snd_hda_parse_pin_defcfg() */
unsigned int shared_mic_hp:1; /* HP/Mic-in sharing */
unsigned int inv_dmic_fixup:1; /* has inverted digital-mic workaround */
unsigned int inv_dmic_muted:1; /* R-ch of inv d-mic is muted? */
unsigned int no_primary_hp:1; /* Don't prefer HP pins to speaker pins */

/* auto-mute control */
int automute_mode;
hda_nid_t automute_mixer_nid[AUTO_CFG_MAX_OUTS];
unsigned int parse_flags; /* passed to snd_hda_parse_pin_defcfg() */

int init_amp;
int codec_variant; /* flag for other variants */
Expand Down Expand Up @@ -612,9 +604,6 @@ static void alc_line_automute(struct hda_codec *codec, struct hda_jack_tbl *jack
call_update_outputs(codec);
}

#define get_connection_index(codec, mux, nid) \
snd_hda_get_conn_index(codec, mux, nid, 0)

/* standard mic auto-switch helper */
static void alc_mic_automute(struct hda_codec *codec, struct hda_jack_tbl *jack)
{
Expand Down Expand Up @@ -1619,8 +1608,6 @@ static const char * const alc_slave_pfxs[] = {
* build control elements
*/

#define NID_MAPPING (-1)

static void alc_free_kctls(struct hda_codec *codec);

#ifdef CONFIG_SND_HDA_INPUT_BEEP
Expand Down

0 comments on commit 03bfec8

Please sign in to comment.