OSDN Git Service

[media] mt9m111: Propagate the real error on v4l2_clk_get() failure
authorFabio Estevam <fabio.estevam@nxp.com>
Sun, 27 Aug 2017 16:30:36 +0000 (13:30 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 4 Oct 2017 20:07:18 +0000 (17:07 -0300)
commitbddb4b53356d3c97ee387c9ae7f290e4c76e8bc6
tree368823de9c71a226e476f3587ab37b99b80fbe1b
parent99cd12425dfe9a400b672f112512a3678dfd1eb6
[media] mt9m111: Propagate the real error on v4l2_clk_get() failure

v4l2_clk_get() may return different error codes other than -EPROBE_DEFER,
so it is better to return the real error code instead.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/mt9m111.c