Alexey Khoroshilov 4321723648
ASoC: tegra_alc5632: fix device_node refcounting
tegra_alc5632_probe() increments reference count of device nodes
with of_parse_phandle(), but there is no code decrementing them
in the driver.

The patch adds of_node_put() to tegra_alc5632_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>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2018-07-30 12:02:29 +01:00
..
2018-07-26 14:07:55 +01:00
2018-07-26 17:09:07 +01:00
2018-07-09 12:15:30 +01:00
2018-01-10 16:42:10 +00:00
2018-07-18 13:08:36 +01:00
2018-07-18 13:08:36 +01:00