]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: soc-generic-dmaengine-pcm: Fix error handling
authorShengjiu Wang <shengjiu.wang@nxp.com>
Mon, 20 Jan 2020 07:28:06 +0000 (15:28 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 21 Jan 2020 17:01:34 +0000 (17:01 +0000)
commita65f0892b83c784f963dcabee5032b5c39a1e408
tree9dacf922e29a3a38ff1a5414913346c9fbf8fdec
parent6be0a3688871e755e9c8018cdda62e896326f382
ASoC: soc-generic-dmaengine-pcm: Fix error handling

Remove the return value checking, that is to align with the code
before adding snd_dmaengine_pcm_refine_runtime_hwparams function.

Otherwise it causes a regression on the HiKey board:

[   17.721424] hi6210_i2s f7118000.i2s: ASoC: can't open component f7118000.i2s: -6

Fixes: 6fcbbc5ceb71 ("ASoC: pcm_dmaengine: Extract snd_dmaengine_pcm_refine_runtime_hwparams")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reported-by: John Stultz <john.stultz@linaro.org>
Link: https://lore.kernel.org/r/1579505286-32085-1-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-generic-dmaengine-pcm.c