diff options
| author | Avi Weiss <thnkslprpt@gmail.com> | 2026-10-13 10:47:44 +0300 |
|---|---|---|
| committer | Mathieu Poirier <mathieu.poirier@linaro.org> | 2026-10-14 09:37:03 -0600 |
| commit | 00e100cfbf7bc159e462df16832cddeaf2cab770 (patch) | |
| tree | c84756070b111f00a37fb44e420a07d04731ff58 /include/uapi/linux | |
| parent | c39c2cdbde1f2ad9e2886167e55ad6b4c4907d7f (diff) | |
| download | linux-00e100cfbf7bc159e462df16832cddeaf2cab770.tar.gz linux-00e100cfbf7bc159e462df16832cddeaf2cab770.zip | |
rpmsg: mtk: release channel OF node on device teardown
mtk_rpmsg_match_device_subnode() returns a referenced OF child
node, which is stored in rpdev->dev.of_node.
mtk_rpmsg_release_device() later frees the containing allocation
without dropping that ref.
Release the OF node when the RPMsg device is destroyed.
Fixes: 7017996951fd ("rpmsg: add rpmsg support for mt8183 SCP.")
Signed-off-by: Avi Weiss <thnkslprpt@gmail.com>
Link: https://lore.kernel.org/r/20261013074744.942560-1-thnkslprpt@gmail.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
