Skip to content
Commit 4ab9157c authored by Alfredo Cruz's avatar Alfredo Cruz Committed by Heiko Stuebner
Browse files

drm/rockchip: vop2: Add error check to devm_regmap_init_mmio



devm_regmap_init_mmio() may return an invalid pointer in case of an error.
This patch adds the corresponding IS_ERR check to vop2->map.

Signed-off-by: default avatarAlfredo Cruz <alfredo.carlon@gmail.com>
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20230322224411.15612-1-alfredo.carlon@gmail.com
parent b5af48ee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment