MrKevinWeiss
df19d33b77
stm32_common/i2c_2: Fix repeated read condition
...
Fix the condition to return -ENOPNOTSUPP when i2c repeated read attempted.
Currently the error occures even if a read after write is attempted.
This is the standard way to i2c_read_reg which should be supported.
The -EOPNOTSUPP requires the previous R/W state to be reading.
This means a `I2C_SR2_TRA` must be checked to be 0.
2019-10-25 10:35:48 +02:00
..
2019-10-13 21:03:41 +02:00
2019-10-18 12:40:34 +02:00
2019-10-18 12:40:34 +02:00
2019-10-18 12:40:34 +02:00
2019-10-18 12:40:34 +02:00
2019-10-18 12:40:34 +02:00
2019-10-18 12:40:34 +02:00
2019-10-18 12:40:34 +02:00
2019-10-18 12:40:34 +02:00
2019-10-18 08:55:33 +02:00
2019-09-12 11:32:31 +02:00
2019-10-21 08:23:51 +02:00
2019-10-13 21:03:41 +02:00
2019-10-21 08:23:51 +02:00
2019-10-13 21:03:41 +02:00
2019-10-13 21:03:41 +02:00
2019-09-17 19:02:47 +02:00
2019-10-21 08:23:51 +02:00
2019-10-14 17:40:23 +02:00
2019-10-18 08:55:33 +02:00
2019-10-18 08:55:33 +02:00
2019-10-18 08:55:33 +02:00
2019-09-16 13:08:56 +02:00
2019-10-18 18:57:42 +01:00
2019-10-18 18:57:42 +01:00
2019-10-18 18:57:42 +01:00
2019-10-18 18:57:42 +01:00
2019-10-13 21:03:41 +02:00
2019-06-03 13:44:10 +02:00
2019-10-18 10:36:43 +02:00
2019-09-30 17:25:24 +02:00
2019-10-18 08:55:33 +02:00
2019-10-18 08:55:33 +02:00
2019-10-03 20:45:44 +02:00
2019-10-18 08:55:33 +02:00
2019-09-30 17:25:24 +02:00
2019-10-18 08:55:33 +02:00
2019-10-18 08:55:33 +02:00
2019-10-18 08:55:33 +02:00
2019-10-18 08:55:33 +02:00
2019-08-29 10:35:53 +02:00
2019-10-25 10:35:48 +02:00
2019-10-21 15:30:22 +02:00
2019-10-18 08:55:33 +02:00
2019-10-18 08:55:33 +02:00
2019-10-18 08:55:33 +02:00
2019-10-18 08:55:33 +02:00
2019-10-18 08:55:33 +02:00
2019-10-18 08:55:33 +02:00
2019-10-18 08:55:33 +02:00
2019-10-18 08:55:33 +02:00
2017-01-20 13:36:26 +01:00