diff options
| author | Lee Jones <lee.jones@linaro.org> | 2012-07-26 11:28:37 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-08-03 23:03:55 +0100 |
| commit | 0dcd47426abde223b2386165470ec45d9777478e (patch) | |
| tree | 4dd22c7e7ffbc223f33b5951b2a111f0d0d8942d /tools/perf/scripts/python | |
| 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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
