[ALSA] cmipci: reorganize set_dac_channels()
authorClemens Ladisch <clemens@ladisch.de>
Mon, 17 Sep 2007 07:39:51 +0000 (09:39 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 16 Oct 2007 14:50:33 +0000 (16:50 +0200)
commit8ffbc01e2cb2e203df910468f236c7b4e7b36f25
tree0a81b87cd1118460cfb0a6d0d4e172ba44d41e58
parent35add1c295c634fdbb1072189286e4eab3fd64fa
[ALSA] cmipci: reorganize set_dac_channels()

By reorganizing the code that sets the CHB3DxC bits we can not only
simplify this code but also fix the bug where the CHB3D8C bit was not
reset when playing a stereo stream after a 7.1 stream.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/cmipci.c