]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ALSA] Don't set gpio mask register in snd_ice1712_gpio_write_bits()
authorKarsten Wiese <fzu@wemgehoertderstaat.de>
Tue, 22 Apr 2008 10:52:45 +0000 (12:52 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 24 Apr 2008 10:00:39 +0000 (12:00 +0200)
commit775c199e6af5e4212bfa7ebeadee09563c14694b
tree4d62ec09ee333eadc028ff28ea3a64856eba073d
parent988f0664779674c7c06252a6d549eee8debd5d76
[ALSA] Don't set gpio mask register in snd_ice1712_gpio_write_bits()

Some calls to snd_ice1712_gpio_write() go wrong, if
snd_ice1712_gpio_write_bits() ran before and changed the gpio mask register.
Read the actual gpio value and combine it with the to be set bits in the cpu
instead.

Signed-off-by: Karsten Wiese <fzu@wemgehoertderstaat.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ice1712/ice1712.h