From b6b16da2fe167b402280c908af2336963591fac8 Mon Sep 17 00:00:00 2001 From: Clemens Ladisch Date: Wed, 2 Sep 2009 18:25:39 +0200 Subject: [PATCH] --- yaml --- r: 157251 b: refs/heads/master c: 92653453c3015c083b9fe0ad48261c6b2267d482 h: refs/heads/master i: 157249: 1e8907ec4359dd92ee62d55abf5ab937b8a809b5 157247: b4b0103beefddaca142f51fe87ec545d6bf218a0 v: v3 --- [refs] | 2 +- trunk/sound/pci/oxygen/oxygen_lib.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 8d5698088217..8533a9ca7bac 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b91ab72b830e1494c2c7f8de05ccb2ab2c9cfb26 +refs/heads/master: 92653453c3015c083b9fe0ad48261c6b2267d482 diff --git a/trunk/sound/pci/oxygen/oxygen_lib.c b/trunk/sound/pci/oxygen/oxygen_lib.c index 312251d39696..9a8936e20744 100644 --- a/trunk/sound/pci/oxygen/oxygen_lib.c +++ b/trunk/sound/pci/oxygen/oxygen_lib.c @@ -260,6 +260,9 @@ oxygen_search_pci_id(struct oxygen *chip, const struct pci_device_id ids[]) * chip didn't if the first EEPROM word was overwritten. */ subdevice = oxygen_read_eeprom(chip, 2); + /* use default ID if EEPROM is missing */ + if (subdevice == 0xffff) + subdevice = 0x8788; /* * We use only the subsystem device ID for searching because it is * unique even without the subsystem vendor ID, which may have been