Re: [PATCH] ASoC: rockchip: Fix an error handling in 'rockchip_i2s_probe'

2017-06-15 Thread kbuild test robot
Hi Christophe, [auto build test ERROR on rockchip/for-next] [also build test ERROR on v4.12-rc5 next-20170615] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Christophe-JAILLET/ASoC-rockchip-Fix

[PATCH] ASoC: rockchip: Fix an error handling in 'rockchip_i2s_probe'

2017-06-14 Thread Christophe JAILLET
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 --- sound/soc/rockchip/rockchip_i2s.c | 9 +