sound/hda: Fix an invalid corb size (0) panic
authorFrançois Tigeot <ftigeot@wolfpond.org>
Mon, 8 May 2017 11:34:52 +0000 (13:34 +0200)
committerFrançois Tigeot <ftigeot@wolfpond.org>
Mon, 8 May 2017 11:37:12 +0000 (13:37 +0200)
commit98174df50edbf5e9b34194e05c13b465c0cf210f
tree8d17230bbfcd4b03d6060c29d6051f778ceec9d8
parent7736615cde6ac75476d32f799fd5c573731442fa
sound/hda: Fix an invalid corb size (0) panic

* This allows HDMI audio to be used with problematic Radeon
  graphics card models such as Radeon R7 240

* This commit is based on a patch from Andriy Gapon posted in
  freebsd-current@ back in July 2010:
  https://lists.freebsd.org/pipermail/freebsd-current/2010-July/018764.html

Submitted-by: davshao, issue #3026
sys/dev/sound/pci/hda/hdac.c