Skip to content
Commit f87313bf authored by Michele Balistreri's avatar Michele Balistreri Committed by David Leach
Browse files

drivers: video: change initialization order of CSI and cameras



video_mcux_csi_init, which setups the CSI pins (i.e: calls
pinctrl_apply_state) was called after mt9m114_init which tries to do i2c
communication with the camera to read the chip id. But since one of the
CSI pins is the camera master clock, doing things in this order won't
work. This PR inverts the order in which the devices are initialized.

Signed-off-by: default avatarMichele Balistreri <michele@bitgamma.com>
parent b72b99f4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment