Skip to content
Commit ab75641f authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Hans Verkuil
Browse files

media: i2c: mt9m114: Fix missing error unwind in probe()



Two paths in the probe function return directly instead of jumping to
error handling. Fix them.

Fixes: 24d756e9 ("media: i2c: Add driver for onsemi MT9M114 camera sensor")
Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
parent e2e73ed4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment