Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 130443
b: refs/heads/master
c: 5801f99
h: refs/heads/master
i:
  130441: 4d43326
  130439: 545f2df
v: v3
  • Loading branch information
Takashi Iwai committed Jan 27, 2009
1 parent 9a11d62 commit 52cfb54
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 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: aa9d823bb347fb66cb07f98c686be8bb85cb6a74
refs/heads/master: 5801f992276366cd6a4f1f9939a4c9da33d499ee
13 changes: 11 additions & 2 deletions trunk/sound/pci/hda/patch_conexant.c
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ static int conexant_mux_enum_put(struct snd_kcontrol *kcontrol,
&spec->cur_mux[adc_idx]);
}

#ifdef CONFIG_SND_JACK
static int conexant_add_jack(struct hda_codec *codec,
hda_nid_t nid, int type)
{
Expand Down Expand Up @@ -394,7 +395,6 @@ static void conexant_report_jack(struct hda_codec *codec, hda_nid_t nid)

static int conexant_init_jacks(struct hda_codec *codec)
{
#ifdef CONFIG_SND_JACK
struct conexant_spec *spec = codec->spec;
int i;

Expand Down Expand Up @@ -422,10 +422,19 @@ static int conexant_init_jacks(struct hda_codec *codec)
++hv;
}
}
#endif
return 0;

}
#else
static inline void conexant_report_jack(struct hda_codec *codec, hda_nid_t nid)
{
}

static inline int conexant_init_jacks(struct hda_codec *codec)
{
return 0;
}
#endif

static int conexant_init(struct hda_codec *codec)
{
Expand Down

0 comments on commit 52cfb54

Please sign in to comment.