diff options
author | Fabio Estevam <festevam@gmail.com> | 2019-06-28 14:00:34 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-07-25 13:36:53 +0300 |
commit | 8791a102ce579346cea9d2f911afef1c1985213c (patch) | |
tree | ad30473fc7c16b43369c19510ba538da3cc3663d /tools | |
parent | 4962bb38fb61518c3c5e9c8f4aedcf2e3486fc4b (diff) | |
download | linux-8791a102ce579346cea9d2f911afef1c1985213c.tar.xz |
media: i2c: ov5640: Check for devm_gpiod_get_optional() error
The power down and reset GPIO are optional, but the return value
from devm_gpiod_get_optional() needs to be checked and propagated
in the case of error, so that probe deferral can work.
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions