~fitzsim/video_si21xx_superset

Add Synamedia copyright statements

Add Synamedia copyright statement to files in which Synamedia changed
15 lines or more.
ec0ea801 — Thomas Fitzsimmons 3 years ago
Valgrind: Fix memory leaks due to not closing USB

SiLabs_API_L3_Console.c: Call L0_Disconnect and SiLabs_API_SW_Exit at
the end of main.

SiLabs_API_L3_Wrapper.c: Add SiLabs_API_SW_Exit function.

Si2183_L2_API.c: Add Si2183_L2_SW_Exit function.

Silabs_L0_Connection.c: Add L0_Disconnect function.
b659ad5b — Thomas Fitzsimmons 3 years ago
Valgrind: Fix use-of-uninitialized-value error

SiLabs_SAT_Tuner_API.c: In SiLabs_SAT_Tuner_Set_Address, use %d
instead of %ld in a printf format string.
56ffb579 — Thomas Fitzsimmons 3 years ago
Valgrind: Fix source/destination overlap errors

Silabs_L0_Connection.c: In SiTraceConfiguration and L0_StoreError,
prevent source/destination overlap in sprintf invocations.

SiLabs_API_L3_Config_Macros.c: Likewise in
SiLabs_SW_config_possibilities.
bc5bc10b — Thomas Fitzsimmons 3 years ago
Merge LINUX_USB_Capability into USB_Capability

Merge logic in LINUX_USB_Capability ifdef blocks into the
corresponding USB_Capability ifdef blocks.  Remove LINUX_USB as a
separate connection type.

These simplifications make auto-configuration (reading a macro from
the Cypress EEPROM) work on NO_WIN32 builds.
cf546de7 — Thomas Fitzsimmons 3 years ago
Coverity: Fix forward-null defects

SiLabs_API_L3_Wrapper_TS_Crossbar.c: In SiLabs_TS_Crossbar_TS1_TS2,
ts_1_source and/or ts_2_source stay NULL if the corresponding mode or
signal arguments are tristate.  Check if any of the relevant arguments
is tristate before dereferencing each variable.
161e72bd — Thomas Fitzsimmons 3 years ago
Coverity: Fix use-of-uninitialized-value defects
5850f90f — Thomas Fitzsimmons 3 years ago
Coverity: Fix resource leak defects
17b9dabb — Thomas Fitzsimmons 3 years ago
Coverity: Fix swapped-arguments defect
4b30b2f2 — Thomas Fitzsimmons 3 years ago
Coverity: Fix overrun defect
a80c0a3d — Thomas Fitzsimmons 3 years ago
Coverity: Fix checked-return defects

Add error checks around function calls for which other calls to the
same function are almost always error-checked.
ae3bbf07 — Thomas Fitzsimmons 3 years ago
Coverity: Remove dead code
f46c7417 — Thomas Fitzsimmons 3 years ago
Coverity: Fix negative return defect
cd3b50aa — Thomas Fitzsimmons 3 years ago
Coverity: Remove no-effect statements
31801138 — Thomas Fitzsimmons 3 years ago
Coverity: Fix buffer overrun defects
282e36fc — Thomas Fitzsimmons 3 years ago
Coverity: Fix forward-null defect
add7277f — Thomas Fitzsimmons 3 years ago
Coverity: Fix sign-extension defects
18e1a544 — Thomas Fitzsimmons 3 years ago
Coverity: Resolve unreachable code sections
38c66bd2 — Thomas Fitzsimmons 3 years ago
Coverity: Fix unused-value defects
25a7f8b1 — Thomas Fitzsimmons 3 years ago
GCC: Fix maybe-uninitialized warnings

SiLabs_API_L3_Wrapper_Channel_Bonding.c: Fix two maybe-uninitialized
compiler warnings.
Next