Fix clock validation in __pm_clk_add()
The __pm_clk_add() function in the Linux kernel handles clock registration for power management. A clock validation bug in this function could cause incorrect power state transitions or kernel warnings when managing device clocks. The Bug The issue involved insufficient validation of clock pointers before adding them to the power management subsystem. When __pm_clk_add() received an…
