• Clemens Ladisch's avatar
    ALSA: virtuoso: work around missing reset in the Xonar DS Windows driver · 4c25b932
    Clemens Ladisch authored
    For the WM8776 chip, this driver uses a different sample format and
    more features than the Windows driver.  When rebooting from Linux into
    Windows, the latter driver does not reset the chip but assumes all its
    registers have their default settings, so we get garbled sound or, if
    the output happened to be muted before rebooting, no sound.
    
    To make that driver happy, hook our driver's cleanup function into the
    shutdown notifier and ensure that the chip gets reset.
    Signed-off-by: default avatarClemens Ladisch <clemens@ladisch.de>
    Reported-and-tested-by: Nathan Schagen
    Cc: <stable@kernel.org>
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    4c25b932
oxygen_lib.c 23.6 KB