summaryrefslogtreecommitdiffstats
path: root/drivers/pwm
diff options
context:
space:
mode:
authorAlexey Khoroshilov2018-09-21 23:58:02 +0200
committerJonathan Cameron2018-09-22 11:19:51 +0200
commitd3fa21c73c391975488818b085b894c2980ea052 (patch)
treec18d54afb624fa7b6f8ac7c07fef76eb237d5df8 /drivers/pwm
parentiio: adc: ti-ads7950: use SPI_CS_WORD to reduce CPU usage (diff)
downloadkernel-qcow2-linux-d3fa21c73c391975488818b085b894c2980ea052.tar.gz
kernel-qcow2-linux-d3fa21c73c391975488818b085b894c2980ea052.tar.xz
kernel-qcow2-linux-d3fa21c73c391975488818b085b894c2980ea052.zip
iio: adc: imx25-gcq: Fix leak of device_node in mx25_gcq_setup_cfgs()
Leaving for_each_child_of_node loop we should release child device node, if it is not stored for future use. Found by Linux Driver Verification project (linuxtesting.org). JC: I'm not sending this as a quick fix as it's been wrong for years, but good to pick up for stable after the merge window. Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Fixes: 6df2e98c3ea56 ("iio: adc: Add imx25-gcq ADC driver") Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/pwm')
0 files changed, 0 insertions, 0 deletions