zephyr/drivers/usb_c/vbus
Michał Barnaś 5246cea800 usbc: improve error handling in the ucpd_stm32 and vbus_adc
As noted in PR#63165 checking of result should use comparison to
success value instead of checking if result is negative. It will
allow to check if function returned invalid but positive value.

Signed-off-by: Michał Barnaś <mb@semihalf.com>
2023-10-20 14:57:32 +02:00
..
CMakeLists.txt usb-c: Add USB-C VBUS ADC driver 2022-10-22 18:38:35 -04:00
Kconfig usbc: fix conflicting Kconfigs for USB-C related init priority 2023-09-20 11:26:40 +01:00
Kconfig.usbc_vbus_adc usb-c: Add USB-C VBUS ADC driver 2022-10-22 18:38:35 -04:00
usbc_vbus_adc.c usbc: improve error handling in the ucpd_stm32 and vbus_adc 2023-10-20 14:57:32 +02:00
usbc_vbus_adc_priv.h usb-c: Add USB-C VBUS ADC driver 2022-10-22 18:38:35 -04:00