From: Lee Jones Date: Thu, 26 Jul 2012 10:28:37 +0000 (+0100) Subject: ASoC: ux500: Strengthen error checking after memory allocation X-Git-Tag: v3.7-rc1~81^2~14^2~196 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0dcd47426abde223b2386165470ec45d9777478e;p=pandora-kernel.git ASoC: ux500: Strengthen error checking after memory allocation Currently there is no out-of-memory error checking after attempting to allocate memory for the ux500_msp or ux500_msp_i2s_drvdata data structures. Instead we go about populating them regardless. This patch applies the necessary error checking to prevent a panic. Signed-off-by: Lee Jones Signed-off-by: Mark Brown --- Reading git-diff-tree failed