[ALSA] cmipci: make the test for integrated MIDI port address more robust
authorClemens Ladisch <clemens@ladisch.de>
Fri, 24 Aug 2007 07:18:04 +0000 (09:18 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 16 Oct 2007 13:59:27 +0000 (15:59 +0200)
commitc9116ae45bd10eabe1e5cf88798092e184d8dbc2
tree1931f6fb0296626bc8883e7e38d8b1d988d017fa
parentdfe495d0a51e20325b51760f34a2f53bfe1f3b52
[ALSA] cmipci: make the test for integrated MIDI port address more robust

Unused bytes in the I/O register range are likely to have the value 0x00
instead of 0xff, so test against both values when checking for the
presence of the integrated MIDI port.

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