diff options
author | Johan Hovold <johan@kernel.org> | 2025-09-09 10:38:19 +0300 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2025-09-29 12:10:46 +0300 |
commit | ebc4ed14a4dbf51307102bb7ffc82ed6c16a37c2 (patch) | |
tree | 11e8953abcb32fa34f2dda131096f1e8f1d0e27b /net/unix/af_unix.c | |
parent | 3e681899cc6e6c77eca55dd8c7cc57b27868e8a2 (diff) | |
download | linux-ebc4ed14a4dbf51307102bb7ffc82ed6c16a37c2.tar.xz |
cpufreq: mediatek: fix device leak on probe failure
Make sure to drop the reference to the cci device taken by
of_find_device_by_node() on probe failure (e.g. probe deferral).
Fixes: 0daa47325bae ("cpufreq: mediatek: Link CCI device to CPU")
Cc: Jia-Wei Chang <jia-wei.chang@mediatek.com>
Cc: Rex-BC Chen <rex-bc.chen@mediatek.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions