]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: Intel: hda-loader: improve error handling
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Tue, 22 Oct 2019 19:28:43 +0000 (14:28 -0500)
committerMark Brown <broonie@kernel.org>
Wed, 23 Oct 2019 16:45:45 +0000 (17:45 +0100)
commit69d7ec0be1fb9ec3df0ca234c35d2de6bf6451f3
tree862bf63018f9fffd9cba8c5d8c781c0f9ecca6ff
parente3c033edd175ce7e83f5ccd597b55279d41d3e78
ASoC: SOF: Intel: hda-loader: improve error handling

If a ROM timeout is detected, we still stop the DMA but will return
the initial error should the DMA stop also fail.

Likewise the cleanup is handled regardless of the status, but we
return the initial error.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20191022192844.21022-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda-loader.c