Re: [SIL2review] [PATCH] ASoC: tegra: fix device_node refcounting

2018-06-17 Thread Nicholas Mc Guire
On Sat, Jun 16, 2018 at 01:22:58AM +0300, Alexey Khoroshilov wrote: > 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 Lin

[PATCH] ASoC: tegra: fix device_node refcounting

2018-06-15 Thread Alexey Khoroshilov
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 Khoroshi