commit | 7c5dfd549617b87db8e891ff4ecaa4a582b6c4cc | [log] [tgz] |
---|---|---|
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | Sat Jun 16 01:22:58 2018 +0300 |
committer | Mark Brown <broonie@kernel.org> | Mon Jun 18 12:55:57 2018 +0100 |
tree | c2a0b244df026901885e69d0554e332d0f3bf34c | |
parent | a4519526ebbd261e36425fa1c269515ee0648ab2 [diff] |
ASoC: tegra: fix device_node refcounting tegra_rt5677_probe() gets a couple of device nodes with of_parse_phandle(), but there is no release of them. The patch adds the release to tegra_rt5677_remove() and to error handling paths in the probe. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Reviewed-by: Nicholas Mc Guire <der.herr@hofr.at> Signed-off-by: Mark Brown <broonie@kernel.org>