Files
linux-stable-mirror/drivers/mmc
Felix Gu 590f8a4ad4 mmc: mmci: Fix device_node reference leak in of_get_dml_pipe_index()
commit af12e64ae0 upstream.

When calling of_parse_phandle_with_args(), the caller is responsible
to call of_node_put() to release the reference of device node.
In of_get_dml_pipe_index(), it does not release the reference.

Fixes: 9cb15142d0 ("mmc: mmci: Add qcom dml support to the driver.")
Signed-off-by: Felix Gu <gu_0233@qq.com>
Cc: stable@vger.kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-03-25 11:08:32 +01:00
..
2025-10-19 16:33:54 +02:00