[media] smiapp: Return -EPROBE_DEFER if the clock cannot be obtained
authorSakari Ailus <sakari.ailus@linux.intel.com>
Mon, 29 Aug 2016 20:28:25 +0000 (17:28 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 5 Sep 2016 18:50:46 +0000 (15:50 -0300)
commit51d2d72b669dab689f18923ec2aba24bc3ccc161
tree77db1285dcf66cb9794c0175d642bb17716878fd
parent697a521fbc6dd6f64489d0feeb09631b227fcd67
[media] smiapp: Return -EPROBE_DEFER if the clock cannot be obtained

The clock may be provided by a driver which is yet to probe. Print the
actual error code as well.

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