diff options
| author | Hans de Goede <[email protected]> | 2017-05-28 09:31:52 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2017-06-07 12:49:23 -0300 |
| commit | da3e18059be96c67365e63e4d1e3f301d802c3c8 (patch) | |
| tree | bdf5a8ed1bd702684fa1353fef1be17918ab06aa /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 22b2807dae2c79eb9f75a5c0e4cdfd418fd14fcf (diff) | |
[media] staging: atomisp: Ignore errors from second gpio in ov2680 driver
As the existing comment in the driver indicates the sensor has only 1 pin,
but some boards may have 2 gpios defined and we toggle both as we we don't
know which one is the right one. However if the ACPI resources table
defines only 1 gpio (as expected) the gpio1_ctrl call will always fail,
causing the probing of the driver to file.
This commit ignore the return value of the gpio1_ctrl call, fixing this.
Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions