coreboot/src
John Zhao 83aac13590 drivers/usb: Replace return value -10 with variable
Coverity detects that value assigned to variable "ret" is overwritten
before it is used. Fix the issue by returning right value.

Found-by: Coverity CID 1255942, 1241836
TEST=None

Signed-off-by: John Zhao <john.zhao@intel.com>
Change-Id: I2e1fb5400ff64c6178bb30601896780f8d67b5c6
Reviewed-on: https://review.coreboot.org/c/coreboot/+/44185
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-08-17 06:21:10 +00:00
..
acpi src/acpi: Add missing <{stdbool,stdint}.h> 2020-07-29 09:37:10 +00:00
arch arch/x86/postcar: Add x86_64 support 2020-08-14 17:55:26 +00:00
commonlib
console
cpu cpu/intel/model_6fx: Include Conroe-L microcode 2020-08-17 06:18:09 +00:00
device device/pci_rom.c: Treat BASE_DISPLAY class as GPU 2020-08-15 05:59:49 +00:00
drivers drivers/usb: Replace return value -10 with variable 2020-08-17 06:21:10 +00:00
ec ec/google/chromeec: Add helper to request AP reset 2020-08-14 08:35:15 +00:00
include soc/intel/jasperlake: Add IGD Device ID 2020-08-17 05:15:40 +00:00
lib gpio: Pull down HiZ pins after reading tristate GPIO strapping 2020-08-06 23:54:41 +00:00
mainboard x4x boards: Remove unused/deprecated cmos bits 2020-08-17 06:18:48 +00:00
northbridge nb/intel/sandybridge: Add comments to struct iosav_ssq 2020-08-12 11:01:44 +00:00
security security/vboot/Makefile.inc: Update regions-for-file function 2020-08-13 05:43:53 +00:00
soc soc/intel/skylake: Call mainboard ACPI sleep methods 2020-08-17 06:08:10 +00:00
southbridge sb/intel/bd82x6x/me_8.x.c: Relocate mkhi_end_of_post 2020-08-13 06:59:29 +00:00
superio superio/ite/it8728f: Correct Kconfig selections 2020-08-14 00:51:37 +00:00
vendorcode vendercode/intel/fsp/fsp2_0/glk: Update FSP header file per v2.2.0 2020-08-14 06:54:58 +00:00
Kconfig