Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
venus: pm_helpers: Fix error check in vcodec_domains_get()
[ Upstream commit 0f6e8d8 ] In the function vcodec_domains_get(), dev_pm_domain_attach_by_name() may return NULL in some cases, so IS_ERR() doesn't meet the requirements. Thus fix it. Fixes: 7482a98 ("media: venus: redesign clocks and pm domains control") Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information