media: ipu3-cio2: Allow probe to succeed if there are no sensors connected
authorSakari Ailus <sakari.ailus@linux.intel.com>
Fri, 30 Nov 2018 22:30:48 +0000 (17:30 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 16 Jan 2019 17:43:11 +0000 (12:43 -0500)
commitb9da9b376711f61d0e3c3e419ee348249ca2bd80
tree45e537c014e6198198420d4fff118972885ea322
parent19c624c6b29e244c418f8b44a711cbf5e82e3cd4
media: ipu3-cio2: Allow probe to succeed if there are no sensors connected

The device won't be powered off on systems that have no sensors connected
unless it has a driver bound to it. Allow that to happen even if there are
no sensors connected to cio2.

Reviewed-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@linux.intel.com>
Tested-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@linux.intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/pci/intel/ipu3/ipu3-cio2.c