diff options
| author | Todor Tomov <todor.tomov@linaro.org> | 2018-02-08 04:41:59 -0500 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-05-17 06:22:08 -0400 |
| commit | 706487807377ae276c3d0f45347b3702d791da12 (patch) | |
| tree | f776d3a57a6cbdd42a04b849757298f5299117a2 /tools/perf/scripts/python/bin | |
| parent | media: ov5640: Use dev_fwnode() to obtain device's fwnode (diff) | |
| download | linux-706487807377ae276c3d0f45347b3702d791da12.tar.gz linux-706487807377ae276c3d0f45347b3702d791da12.zip | |
media: ov5645: Fix write_reg return code
I2C transfer functions return number of successful operations (on success).
Do not return the received positive return code but instead return 0 on
success. The users of write_reg function already use this logic.
Signed-off-by: Todor Tomov <todor.tomov@linaro.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
