commit | f603e2509db94f49cda0d89001679cb89503a6fe | [log] [tgz] |
---|---|---|
author | Pushpal Sidhu <psidhu.devel@gmail.com> | Fri Dec 14 15:09:45 2018 -0800 |
committer | Kumar Gala <kumar.gala@gmail.com> | Mon Dec 17 08:17:24 2018 -0600 |
tree | 17fbcf67d38e814fb8b8290a1688f166717019d6 | |
parent | a1c3b0aad3d26fa13fe1658dc64c41e1c2969b66 [diff] |
drivers: i2c_ll_stm32_v2: Handle errors during data transfers Check for ARLO, BERR, OVR, and NACK errors during any kind of transmission. Helps fix getting into a while(1) loop in any of these scenarios when in polling mode. Signed-off-by: Pushpal Sidhu <psidhu.devel@gmail.com>