commit | 0dcd47426abde223b2386165470ec45d9777478e | [log] [tgz] |
---|---|---|
author | Lee Jones <lee.jones@linaro.org> | Thu Jul 26 11:28:37 2012 +0100 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Fri Aug 03 23:03:55 2012 +0100 |
tree | 4dd22c7e7ffbc223f33b5951b2a111f0d0d8942d | |
parent | fbfe69836c088bcc0c5a0f32e788d3aef5f66aca [diff] |
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 <lee.jones@linaro.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>