1. 26 2月, 2009 1 次提交
  2. 20 2月, 2009 2 次提交
  3. 19 2月, 2009 6 次提交
    • C
      sound: oxygen: automatically restore overwritten EEPROM · 1275d6f6
      Clemens Ladisch 提交于
      If the EEPROM was partially overwritten (which seems to happen before the OS is
      booted), restore its entire contents by deducing it from the remaining
      information.
      
      This does not have any effect on the Linux driver, which works even with
      incomplete information in the EEPROM, but it makes other drivers work again.
      Signed-off-by: NClemens Ladisch <clemens@ladisch.de>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      1275d6f6
    • C
      sound: oxygen: handle cards with broken EEPROM · 30459d7b
      Clemens Ladisch 提交于
      Under as yet unknown circumstances, the first word of the sound card's
      EEPROM gets overwritten.  When this has happened, we cannot rely on the
      subsystem IDs that the kernel reads from the PCI configuration
      registers.  Instead, we read the IDs directly from the EEPROM and do the
      ID matching manually.
      
      Because the model-specific driver cannot determine the model before
      calling oxygen_pci_probe(), that function now gets a get_model()
      callback as parameter.  The customizing of the model structure, which
      was formerly done by the probe() callback, also has moved into
      get_model().
      Signed-off-by: NClemens Ladisch <clemens@ladisch.de>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      30459d7b
    • C
      sound: oxygen: use static driver name · a69bb3c3
      Clemens Ladisch 提交于
      When allocating resources, use a fixed name instead of reading it from
      the model structure.  This allows us to allocate the resources before
      the actual model is known.
      Signed-off-by: NClemens Ladisch <clemens@ladisch.de>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      a69bb3c3
    • C
      sound: oxygen: allocate model_data dynamically · 6ed91157
      Clemens Ladisch 提交于
      Allocate the model-specific data dynamically instead of including it in
      the memory block of the card structure.  This will allow us to determine
      the actual model after the card creation.
      Signed-off-by: NClemens Ladisch <clemens@ladisch.de>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      6ed91157
    • C
      sound: oxygen: make the owner module a parameter of the probe function · bb718588
      Clemens Ladisch 提交于
      Move the owner field out of the oxygen_model structure and make it
      a parameter of oxygen_pci_probe(), because the actual owner module does
      not depend on the card model.  Furthermore, moving it out of the model
      structure allows us to create the card structure before the actual model
      is known.
      Signed-off-by: NClemens Ladisch <clemens@ladisch.de>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      bb718588
    • C
      sound: virtuoso: revert "do not overwrite EEPROM on Xonar D2/D2X" · 6ce6c473
      Clemens Ladisch 提交于
      This reverts commit 7e86c0e6 ("do not
      overwrite EEPROM on Xonar D2/D2X") because it did not actually help with
      the problem.
      
      More user reports show that the overwriting of the EEPROM is not
      triggered by using this driver but by installing Linux, and that the
      installation of any other operating system (even one without any CMI8788
      driver) has the same effect.  In other words, the presence of this
      driver does not have any effect on the occurrence of the error.  (So
      far, the available evidence seems to point to a BIOS bug.)
      
      Furthermore, it turns out that the EEPROM chip is protected against
      stray write commands by the command format and by requiring a separate
      write-enable command, so the error scenario in the previous commit (that
      SPI writes can be misinterpreted as an EEPROM write command) is not even
      theoretically possible.
      
      The mixer control that was removed as a consequence of the previous
      commit can only be partially emulated in userspace, which also means it
      cannot be seen be the in-kernel OSS API emulation, so it is better to
      revert that change.
      Signed-off-by: NClemens Ladisch <clemens@ladisch.de>
      Cc: <stable@kernel.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      6ce6c473
  4. 13 2月, 2009 3 次提交
  5. 12 2月, 2009 1 次提交
  6. 11 2月, 2009 5 次提交
  7. 06 2月, 2009 2 次提交
  8. 05 2月, 2009 2 次提交
  9. 02 2月, 2009 1 次提交
  10. 01 2月, 2009 2 次提交
  11. 30 1月, 2009 1 次提交
  12. 28 1月, 2009 1 次提交
  13. 27 1月, 2009 2 次提交
  14. 23 1月, 2009 3 次提交
  15. 22 1月, 2009 1 次提交
  16. 21 1月, 2009 1 次提交
  17. 19 1月, 2009 3 次提交
  18. 18 1月, 2009 1 次提交
  19. 16 1月, 2009 2 次提交