Skip to content
Commit baf3b544 authored by Dave Stevenson's avatar Dave Stevenson Committed by Dom Cobley
Browse files

media: i2c: ov7251: Initialise current_mode during probe



Initialise ov7251->current_mode during probe to avoid the issue
of a NULL dereference should get_frame_interval be called before
set_frame_interval or set_format.

Signed-off-by: default avatarDave Stevenson <dave.stevenson@raspberrypi.com>
parent 009b3470
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