android_kernel_motorola_sm6375/drivers/opp
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Tang Bin d3f15a4be2 opp: Fix error check in dev_pm_opp_attach_genpd()
[ Upstream commit 4ea9496cbc959eb5c78f3e379199aca9ef4e386b ]

dev_pm_domain_attach_by_name() may return NULL in some cases,
so IS_ERR() doesn't meet the requirements. Thus fix it.

Fixes: 6319aee10e ("opp: Attach genpds to devices from within OPP core")
Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
[ Viresh: Replace ENODATA with ENODEV ]
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-08-25 11:18:00 +02:00
..
core.c opp: Fix error check in dev_pm_opp_attach_genpd() 2022-08-25 11:18:00 +02:00
cpu.c
debugfs.c
Kconfig
Makefile
of.c opp: Fix return in _opp_add_static_v2() 2021-11-17 09:48:44 +01:00
opp.h
ti-opp-supply.c