dmaengine: ti: Add missing put_device in ti_dra7_xbar_route_allocate
stable inclusion from stable-v5.10.130 commit 8365b151fd50160aeb7d56551d958e4852522b7f category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I5YRJO Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=8365b151fd50160aeb7d56551d958e4852522b7f -------------------------------- commit 615a4bfc upstream. of_find_device_by_node() takes reference, we should use put_device() to release it when not need anymore. Fixes: a074ae38 ("dmaengine: Add driver for TI DMA crossbar on DRA7x") Signed-off-by: NMiaoqian Lin <linmq006@gmail.com> Acked-by: NPeter Ujfalusi <peter.ujfalusi@gmail.com> Link: https://lore.kernel.org/r/20220605042723.17668-1-linmq006@gmail.comSigned-off-by: NVinod Koul <vkoul@kernel.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com> Acked-by: NXie XiuQi <xiexiuqi@huawei.com>
Showing
想要评论请 注册 或 登录