Skip to content
Unverified Commit 44fabd8c authored by Kangjie Lu's avatar Kangjie Lu Committed by Mark Brown
Browse files

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: default avatarKangjie Lu <kjlu@umn.edu>
Acked-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
parent 667e9334
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment