Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
soc: ti: ti_sci_pm_domains: Populate name for genpd
Commit b6a1d09 ("PM / Domains: Extend generic power domain debugfs") now creates a debugfs directory for each genpd based on the name of the genpd. Currently no name is given to the genpd created by ti_sci_pm_domains driver so because of this we see a NULL pointer dereferences when it is accessed on boot when the debugfs entry creation is attempted. Give the genpd a name before registering it to avoid this. Fixes: 52835d5 ("soc: ti: Add ti_sci_pm_domains driver") Signed-off-by: Dave Gerlach <[email protected]> Signed-off-by: Santosh Shilimkar <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]>
- Loading branch information