camera: Fix hotplug failure

Due to other v4l device getting enumerated as
"/dev/video0" when camera not connected at boot time,
camera gets enumerated as "/dev/video1" this may again
fail  in case if there are other v4l devices.

Change-Id: I2bcb91a2bd815746e68e2a38c746e69be476ba5e
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
1 file changed
tree: a29a9769a4ab6141bf2bd376bb226d1e89b6a323
  1. libcamera/