Skip to content

Commit

Permalink
ALSA: hda - Remove superfluous verbs for Cxt5047 laptop-eapd model
Browse files Browse the repository at this point in the history
Remove superfluous verbs from cxt5047_toshiba_init_verbs[].
Also fix comments and minor coding style issues.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Takashi Iwai committed Mar 10, 2009
1 parent b880c74 commit 3b62886
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions sound/pci/hda/patch_conexant.c
Original file line number Diff line number Diff line change
Expand Up @@ -1377,12 +1377,9 @@ static struct hda_verb cxt5047_init_verbs[] = {

/* configuration for Toshiba Laptops */
static struct hda_verb cxt5047_toshiba_init_verbs[] = {
{0x13, AC_VERB_SET_EAPD_BTLENABLE, 0x0 }, /* default on */
/* pin sensing on HP and Mic jacks */
{0x13, AC_VERB_SET_UNSOLICITED_ENABLE, AC_USRSP_EN | CONEXANT_HP_EVENT},
{0x15, AC_VERB_SET_UNSOLICITED_ENABLE, AC_USRSP_EN | CONEXANT_MIC_EVENT},
{0x13, AC_VERB_SET_EAPD_BTLENABLE, 0x0}, /* default off */
/* Speaker routing */
{0x1d, AC_VERB_SET_CONNECT_SEL,0x1},
{0x1d, AC_VERB_SET_CONNECT_SEL, 0x1},
{}
};

Expand Down

0 comments on commit 3b62886

Please sign in to comment.