]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: soc-pcm: fix dpcm_path_get error handling
authorQiao Zhou <zhouqiao@marvell.com>
Wed, 10 Sep 2014 09:54:07 +0000 (17:54 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 10 Sep 2014 10:40:21 +0000 (11:40 +0100)
commit29569c313a1600f8e8c26cb70d795711124833d1
treefd3a599d5323061479b01137035c588d562ac421
parentca09702717581356bb91e5bbfbb244eda384a004
ASoC: soc-pcm: fix dpcm_path_get error handling

dpcm_path_get may return -ENOMEM when allocating memory for list
fails. We should not keep processing path or start up dpcm dai in
this case.

Signed-off-by: Qiao Zhou <zhouqiao@marvell.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-compress.c
sound/soc/soc-pcm.c