summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc
diff options
context:
space:
mode:
authorMyeonghun Pak <mhun512@gmail.com>2026-09-13 18:30:19 -0400
committerThomas Zimmermann <tzimmermann@suse.de>2026-10-01 14:40:38 +0200
commitecce445c6489895463b7ddec2af66338287fee4c (patch)
tree926037fd745edbadfd37f5222a09ce275d8dc985 /tools/lib/python/kdoc
parent755c94d178b7e972bb766199d34e4ba4f63a89eb (diff)
downloadlinux-next-ecce445c6489895463b7ddec2af66338287fee4c.tar.gz
linux-next-ecce445c6489895463b7ddec2af66338287fee4c.zip
drm/aspeed: Balance the display clock enable on teardown
aspeed_gfx_load() enables the display clock without checking the return value and never disables it on probe failure or removal. devm_clk_get() only releases the clock reference, leaving the enable unbalanced. Use devm_clk_get_enabled() to handle enable failures and automatically disable and unprepare the clock on probe failure or removal. This issue was identified during our ongoing static-analysis research while reviewing kernel code. Fixes: 4f2a8f5898ec ("drm: Add ASPEED GFX driver") 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 Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de> Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Link: https://patch.msgid.link/20260913223019.89651-1-mhun512@gmail.com Link: https://patch.msgid.link/20260905080426.34224-1-kmehltretter@gmail.com
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions