]> git.baikalelectronics.ru Git - kernel.git/commit
[media] smiapp: Always initialise the sensor in probe
authorSakari Ailus <sakari.ailus@linux.intel.com>
Wed, 7 Sep 2016 09:40:13 +0000 (06:40 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 21 Oct 2016 17:00:06 +0000 (15:00 -0200)
commit027ccb7c7648b922a153e56bbb0acf8d47c1b3a7
tree0091a905dbb2b4048ac37935d752674051dcf7f5
parent8d50e2f13bc5d34940c769f08311190d96a643ec
[media] smiapp: Always initialise the sensor in probe

Initialise the sensor in probe. The reason why it wasn't previously done
in case of platform data was that the probe() of the driver that provided
the clock through the set_xclk() callback would need to finish before the
probe() function of the smiapp driver. The set_xclk() callback no longer
exists.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/smiapp/smiapp-core.c