diff options
| author | 2018-12-20 02:48:42 -0500 | |
|---|---|---|
| committer | 2019-01-16 11:43:48 -0500 | |
| commit | c9b7d8f252a5a6f8ca6e948151367cbc7bc4b776 (patch) | |
| tree | 1e833b698a630062e814a65d89889387a6e85539 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | media: seco-cec: fix RC_CORE dependency (diff) | |
media: lgdt3306a: fix a missing check of return value
If lgdt3306a_read_reg() fails, the read data in "val" is incorrect, thus
shouldn't be further used. The fix inserts a check for the return value
of lgdt3306a_read_reg(). If it fails, goto fail.
Signed-off-by: Kangjie Lu <kjlu@umn.edu>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
