commit | a56df73ba5960848f60f609c68770d2638bf1dd5 | [log] [tgz] |
---|---|---|
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | Sun Jun 10 01:20:54 2018 +0300 |
committer | Mark Brown <broonie@kernel.org> | Mon Jun 18 12:54:38 2018 +0100 |
tree | 00fa4a036e5ecb0e583679e33f81dc061e506d73 | |
parent | 187e01d0d56d1fd682dfaafb0b45d332abec6387 [diff] |
ASoC: rockchip: put device_node on remove snd_rk_mc_probe() gets a couple of device nodes with of_parse_phandle(), but there is no release of them. The patch adds remove handler and proper error handling in the probe. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Signed-off-by: Mark Brown <broonie@kernel.org>