zephyr/drivers/usb_c/tcpc
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 usbc: add "tcpc" shell command 2023-10-20 14:57:12 +02:00
Kconfig usbc: add "tcpc" shell command 2023-10-20 14:57:12 +02:00
Kconfig.tcpc_stm32 drivers: usb-c: Update TCPC driver to use devicetree Kconfig symbol 2022-10-22 18:38:35 -04:00
shell.c usbc: add "chip" subcommand for "tcpc" shell command 2023-10-20 14:57:12 +02:00
ucpd_stm32.c usbc: improve error handling in the ucpd_stm32 and vbus_adc 2023-10-20 14:57:32 +02:00
ucpd_stm32_priv.h usb-c: tcpc: Disable Dead Battery after system starts 2023-03-09 09:20:35 +01:00