diff options
author | Kangjie Lu <kjlu@umn.edu> | 2018-12-25 01:31:21 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-01-16 11:24:35 -0500 |
commit | 5ceaf5452c1b2a452dadaf377f9f07af7bda9cc3 (patch) | |
tree | 19682d3ad2cd3d6897ce03426cafb8710b40bf59 /drivers/acpi/osl.c | |
parent | 6f2c6afa79e0513d339871337bfc8c6c621d3ab1 (diff) | |
download | lwn-5ceaf5452c1b2a452dadaf377f9f07af7bda9cc3.tar.gz lwn-5ceaf5452c1b2a452dadaf377f9f07af7bda9cc3.zip |
media: usb: gspca: add a missed return-value check for do_command
do_command() may fail. The fix adds the missed return value of
do_command(). If it fails, returns its error code.
Signed-off-by: Kangjie Lu <kjlu@umn.edu>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/acpi/osl.c')
0 files changed, 0 insertions, 0 deletions