summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorMyeonghun Pak <mhun512@gmail.com>2026-09-13 18:35:38 -0400
committerUlf Hansson <ulfh@kernel.org>2026-09-14 12:04:29 +0200
commit4396d70bb7fec531bcf934fed016b2f3300c670b (patch)
treed4c564b2b6d2a6578d73394f51a82ae9fcd380e5 /tools/perf/scripts/python/bin
parentd5ea0d226e8f0801d78702142a124d78c317d822 (diff)
downloadlinux-next-4396d70bb7fec531bcf934fed016b2f3300c670b.tar.gz
linux-next-4396d70bb7fec531bcf934fed016b2f3300c670b.zip
mmc: sdhci-of-aspeed: Remove children before releasing SDC resources
Probe failure and removal leave SDHCI child devices registered after the parent clock and managed resources are released. Unregister the OF children in reverse order before disabling the parent clock on both paths. Use of_platform_device_destroy() because manual child creation does not set the flag required by of_platform_depopulate(). This issue was identified during our ongoing static-analysis research while reviewing kernel code. Fixes: bb7b8ec62dfb ("mmc: sdhci-of-aspeed: Add support for the ASPEED SD controller") Co-developed-by: Ijae Kim <ae878000@gmail.com> Signed-off-by: Ijae Kim <ae878000@gmail.com> Signed-off-by: Myeonghun Pak <mhun512@gmail.com> Assisted-by: OpenAI:GPT-5.6 Cc: stable@vger.kernel.org Signed-off-by: Ulf Hansson <ulfh@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions