zephyr/drivers/w1
Thomas Stranger 505cc19941 drivers: w1: fix return check in bit_read for w1-gpio
The driver masked the return value of a pin read operation before
checking the error.
Thus not detecting a potential error and leading to logically
dead code, which was detected by coverity in CID 340853.
Anther instance XORs 1 before returning, resulting in an unexpected
return value;

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
2024-02-08 12:14:36 +00:00
..
CMakeLists.txt drivers: w1: add zephyr-gpio driver 2024-01-08 12:43:52 +01:00
Kconfig drivers: w1: add zephyr-gpio driver 2024-01-08 12:43:52 +01:00
Kconfig.ds2477_85 drivers/w1: driver for ds2485 1-Wire master 2022-09-09 14:11:30 +00:00
Kconfig.ds2482-800 drivers: ds2482-800: Add driver 2023-04-07 13:11:54 +02:00
Kconfig.ds2484 drivers: w1: Move to using select in Kconfig for I2C bus 2022-08-12 14:15:53 +01:00
Kconfig.ds2485 drivers/w1: driver for ds2485 1-Wire master 2022-09-09 14:11:30 +00:00
Kconfig.test drivers: w1: Update drivers to use devicetree Kconfig symbol 2022-07-29 14:25:27 +02:00
Kconfig.zephyr_gpio drivers: w1: add zephyr-gpio driver 2024-01-08 12:43:52 +01:00
Kconfig.zephyr_serial drivers: w1: Add dependency to UART runtime configuration 2023-11-15 10:02:18 +01:00
w1_common.c everywhere: Fix legacy include paths 2022-07-18 16:16:47 +00:00
w1_ds2477_85_common.c drivers/w1: driver for ds2485 1-Wire master 2022-09-09 14:11:30 +00:00
w1_ds2477_85_common.h drivers/w1: driver for ds2485 1-Wire master 2022-09-09 14:11:30 +00:00
w1_ds2482-800.c drivers: ds2482-800: Add driver 2023-04-07 13:11:54 +02:00
w1_ds2482-800.h drivers: ds2482-800: Add driver 2023-04-07 13:11:54 +02:00
w1_ds2482-800_channel.c drivers: ds2482-800: Add driver 2023-04-07 13:11:54 +02:00
w1_ds2482_84_common.h drivers: ds248x: Fix naming 2023-04-07 13:11:54 +02:00
w1_ds2484.c drivers: gpio: use gpio_is_ready_dt helper function 2023-08-28 08:48:35 -05:00
w1_ds2485.c drivers/w1: driver for ds2485 1-Wire master 2022-09-09 14:11:30 +00:00
w1_handlers.c syscall: rename Z_OOPS -> K_OOPS 2023-11-03 11:46:52 +01:00
w1_net.c drivers: w1: Make 1-Wire Skip ROM cmd. optional 2023-05-19 16:29:35 +02:00
w1_shell.c drivers/w1: add 1-wire shell 2022-09-07 15:33:52 +02:00
w1_test.c device: remove redundant init functions 2023-04-19 10:00:25 +02:00
w1_zephyr_gpio.c drivers: w1: fix return check in bit_read for w1-gpio 2024-02-08 12:14:36 +00:00
w1_zephyr_serial.c drivers: move to timepoint API 2023-07-25 09:12:26 +02:00