sound: oxygen: handle cards with missing EEPROM
commitec20282569b8c528265974c8aef921ce24e14e25
authorClemens Ladisch <clemens@ladisch.de>
Wed, 2 Sep 2009 16:25:39 +0000 (2 18:25 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 17:45:29 +0000 (15 10:45 -0700)
tree6dbe2c47d5d26dbe5c21805d41ddb8671cf0abde
parent65a11d230e61e2d760ee114781235d25725fd9d9
sound: oxygen: handle cards with missing EEPROM

commit 92653453c3015c083b9fe0ad48261c6b2267d482 upstream.

The card model detection code introduced in 2.6.30 that tries to work
around partially broken EEPROM contents by reading the EEPROM directly
does not handle cards where the EEPROM has been omitted.  In this case,
we have to use the default ID to allow the driver to load.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Reported-and-tested-by: Ozan Çağlayan <ozan@pardus.org.tr>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/pci/oxygen/oxygen_lib.c