]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: ipc: Make the error prints consistent in tx_wait_done()
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Tue, 28 Sep 2021 07:36:15 +0000 (10:36 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 28 Sep 2021 12:16:28 +0000 (13:16 +0100)
commitb17532d4d56326c6841d49bcb8fb81fcb59bfd5e
tree56478505718ae073672ca4dc607564aaaf03ac4b
parent1f372dad25c01114a9ffd9631c42b5e567ad75ad
ASoC: SOF: ipc: Make the error prints consistent in tx_wait_done()

If we get an error on reply (msg->reply_error) then we should print the
error value out.

At the same time extend the print to include the message size as well and
do the same in case of a timeout.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Daniel Baluta <daniel.baluta@gmail.com>
Reviewed-by: Paul Olaru <paul.olaru@oss.nxp.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20210928073615.29574-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/ipc.c