aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/lima/lima_devfreq.c
diff options
context:
space:
mode:
authorTang Bin <[email protected]>2022-05-24 12:31:51 +0000
committerViresh Kumar <[email protected]>2022-06-06 06:28:51 +0000
commit4ea9496cbc959eb5c78f3e379199aca9ef4e386b (patch)
tree0216f4fe0f321d26a9da8109d983f575cb15fc2d /drivers/gpu/drm/lima/lima_devfreq.c
parentLinux 5.19-rc1 (diff)
downloadkernel-4ea9496cbc959eb5c78f3e379199aca9ef4e386b.tar.gz
kernel-4ea9496cbc959eb5c78f3e379199aca9ef4e386b.zip
opp: Fix error check in dev_pm_opp_attach_genpd()
dev_pm_domain_attach_by_name() may return NULL in some cases, so IS_ERR() doesn't meet the requirements. Thus fix it. Fixes: 6319aee10e53 ("opp: Attach genpds to devices from within OPP core") Signed-off-by: Tang Bin <[email protected]> [ Viresh: Replace ENODATA with ENODEV ] Signed-off-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/lima/lima_devfreq.c')
0 files changed, 0 insertions, 0 deletions