ALSA: hda - Show the fatal CORB/RIRB error more clearly
authorTakashi Iwai <tiwai@suse.de>
Fri, 26 Jul 2019 09:42:34 +0000 (11:42 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 5 Oct 2019 11:09:37 +0000 (13:09 +0200)
commit1af6822f29d6b5c3b6e832aba8ae5e312047665d
treeb269a9ca8789e654628f54f0b379d920e5c67832
parentb40c15c20e42491303202ae1368841704be0c3b9
ALSA: hda - Show the fatal CORB/RIRB error more clearly

[ Upstream commit dd65f7e19c6961ba6a69f7c925021b7a270cb950 ]

The last fallback of CORB/RIRB communication error recovery is to turn
on the single command mode, and this last resort usually means that
something is really screwed up.  Instead of a normal dev_err(), show
the error more clearly with dev_WARN() with the caller stack trace.

Also, show the bus-reset fallback also as an error, too.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/pci/hda/hda_controller.c