summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorKangjie Lu <kjlu@umn.edu>2018-12-20 02:48:42 -0500
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-01-16 11:43:48 -0500
commitc9b7d8f252a5a6f8ca6e948151367cbc7bc4b776 (patch)
tree1e833b698a630062e814a65d89889387a6e85539 /firmware
parentf27dd0ad68850fdb806536a733a32d8f74810f1e (diff)
downloadlinux-c9b7d8f252a5a6f8ca6e948151367cbc7bc4b776.tar.bz2
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 'firmware')
0 files changed, 0 insertions, 0 deletions