]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ASoC: atom: fix a missing check of snd_pcm_lib_malloc_pages
authorKangjie Lu <kjlu@umn.edu>
Wed, 26 Dec 2018 02:29:48 +0000 (20:29 -0600)
committerMark Brown <broonie@kernel.org>
Mon, 7 Jan 2019 18:10:03 +0000 (18:10 +0000)
commit44fabd8cdaaa3acb80ad2bb3b5c61ae2136af661
treeab8a92f2eae984fef31ba26a88612ddcd1f9bd24
parent667e9334fa64da2273e36ce131b05ac9e47c5769
ASoC: atom: fix a missing check of snd_pcm_lib_malloc_pages

snd_pcm_lib_malloc_pages() may fail, so let's check its status and
return its error code upstream.

Signed-off-by: Kangjie Lu <kjlu@umn.edu>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
sound/soc/intel/atom/sst-mfld-platform-pcm.c