AC97_GPIO_POLARITY
reg = wm97xx_reg_read(wm, AC97_GPIO_POLARITY);
wm97xx_reg_write(wm, AC97_GPIO_POLARITY, reg);
pol = wm97xx_reg_read(wm, AC97_GPIO_POLARITY);
wm97xx_reg_write(wm, AC97_GPIO_POLARITY, pol &
wm97xx_reg_write(wm, AC97_GPIO_POLARITY, pol |
wm->gpio[1] = wm97xx_reg_read(wm, AC97_GPIO_POLARITY);
wm97xx_reg_write(wm, AC97_GPIO_POLARITY, wm->gpio[1]);
snd_ac97_write(ac97, AC97_GPIO_POLARITY, 0xffff & ~(AC97_GPIO_LINE1_OH));
logic_type = snd_cs46xx_codec_read(chip, AC97_GPIO_POLARITY,
snd_cs46xx_codec_write (chip, AC97_GPIO_POLARITY, logic_type,