[ALSA] cmipci: reorganize chip version detection
commit133271fef52c06de52ea9a8ee27899f18dae9af2
authorClemens Ladisch <clemens@ladisch.de>
Mon, 27 Aug 2007 07:20:31 +0000 (27 09:20 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 16 Oct 2007 13:59:28 +0000 (16 15:59 +0200)
tree1a9b94c6a90bcaa33b1ab7b953f504d7a5abb1aa
parentc9116ae45bd10eabe1e5cf88798092e184d8dbc2
[ALSA] cmipci: reorganize chip version detection

Add a case for chip version 39 where no bit is set in register 0Ch, and
move the detection of version 39 before that of 8768.  This makes the
logic more compatible with the driver on that other OS.

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