diff options
author | 2017-06-15 07:53:11 +0200 | |
---|---|---|
committer | 2017-06-15 10:41:33 +0100 | |
commit | c3a3d3c41b74b05267bab6173f2a8224a1443ba6 (patch) | |
tree | c333163208e4e9ab5179f6e26e78bce2e5c87492 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ASoC: rockchip: i2s: add other configurable formats (diff) | |
download | wireguard-linux-c3a3d3c41b74b05267bab6173f2a8224a1443ba6.tar.xz wireguard-linux-c3a3d3c41b74b05267bab6173f2a8224a1443ba6.zip |
ASoC: rockchip: Fix an error handling in 'rockchip_i2s_probe'
If this memory allocation fail, we must disable what has been enabled.
Do not return immediately but go thrue the error handling path instead.
Also use 'devm_kmemdup' instead of 'devm_kzalloc+memcpy' to simplify code.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions