diff options
author | Alexey Khoroshilov <[email protected]> | 2018-07-28 00:06:59 +0300 |
---|---|---|
committer | Mark Brown <[email protected]> | 2018-07-30 12:02:29 +0100 |
commit | 4321723648b0abb456f7a9af51bb09a4ec60799d (patch) | |
tree | 144721856196d0026f40a853a404da5c2100533d /lib/memory-notifier-error-inject.c | |
parent | 7464d3faf62a5adcb99f4f8ea9baabda78aed4aa (diff) |
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 <[email protected]>
Acked-by: Jon Hunter <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions