Skip to content
Commit 57e9ce68 authored by Harshit Mogalapalli's avatar Harshit Mogalapalli Committed by Laurent Pinchart
Browse files

media: imx-pxp: Fix ERR_PTR dereference in pxp_probe()



devm_regmap_init_mmio() can fail, add a check and bail out in case of
error.

Fixes: 4e5bd3fd ("media: imx-pxp: convert to regmap")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarHarshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://lore.kernel.org/r/20240514095038.3464191-1-harshit.m.mogalapalli@oracle.com


Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
parent bf9817d2
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