Skip to content
Snippets Groups Projects
Verified Commit 16e57a72 authored by Dan Carpenter's avatar Dan Carpenter Committed by Maxime Ripard
Browse files

drm/vc4: hdmi: Fix some NULL vs IS_ERR() bugs


The devm_platform_ioremap_resource_byname() function doesn't return NULL,
it returns error pointers.  Update the checking to match.

Fixes: b93f07cf ("drm/vc4: move to devm_platform_ioremap_resource() usage")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/a952e2b4-d4b8-49ac-abd9-9967c50f4a80@stanley.mountain


Signed-off-by: Maxime Ripard's avatarMaxime Ripard <mripard@kernel.org>
parent 30188df0
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment