ALSA: hda - Don't initialize CORB/RIRB for single_cmd mode
authorTakashi Iwai <tiwai@suse.de>
Sat, 7 Nov 2009 08:49:04 +0000 (09:49 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sat, 7 Nov 2009 08:49:04 +0000 (09:49 +0100)
commit1a6969788ef2d5bc3169eee59def6b267182f136
treed1838d87fb2bffe36b0f08f320e877a3c80d3d62
parent78987bdc4e41a425ac113c2c51474f0368fe653a
ALSA: hda - Don't initialize CORB/RIRB for single_cmd mode

So far, CORB/RIRB still remains even if the driver is switched to the
single_cmd mode.  The specification says that this should be disabled,
but I hoped this isn't the case; indeed most devices worked together with
CORB/RIRB.

However, Poulsbo (US15W) seems problematic with this setup, and it
requires to disable CORB/RIRB when single_cmd is used.

Now this patch disables CORB/RIRB initialization when the single_cmd
mode is used.  Also the unsolicited event is disabled because it can't
work without RIRB.

Reported-and-tested-by: Troy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c