diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2018-06-16 01:22:58 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-06-18 12:55:57 +0100 |
commit | 7c5dfd549617b87db8e891ff4ecaa4a582b6c4cc (patch) | |
tree | c2a0b244df026901885e69d0554e332d0f3bf34c /drivers | |
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>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions