Searched hist:"9 a45bf28" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/media/i2c/ |
H A D | max2175.c | 9a45bf28 Sun Aug 27 11:30:35 CDT 2017 Fabio Estevam <fabio.estevam@nxp.com> media: max2175: Propagate the real error on devm_clk_get() failure
When devm_clk_get() fails we should return the real error code instead of always returning -ENODEV.
This allows defer probe to happen in the case the clock provider has not been enabled by the time max2175 driver gets probed.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> 9a45bf28 Sun Aug 27 11:30:35 CDT 2017 Fabio Estevam <fabio.estevam@nxp.com> media: max2175: Propagate the real error on devm_clk_get() failure When devm_clk_get() fails we should return the real error code instead of always returning -ENODEV. This allows defer probe to happen in the case the clock provider has not been enabled by the time max2175 driver gets probed. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
|