commit | 598de06165f32fcd00a95f8c09250b188b2118d9 | [log] [tgz] |
---|---|---|
author | Caspar Friedrich <c.s.w.friedrich@gmail.com> | Sun Aug 14 20:53:05 2022 +0200 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Wed Aug 24 10:06:58 2022 +0200 |
tree | adc3e4adeceb907ee7de0be0bf97fe5ee5a90c19 | |
parent | b0564dfd976c7f86184f09616df083d5a0c35816 [diff] |
drivers: ds2484: Fix wrong early exit during suspend/resume The sleep pin is optional and the driver checks for availability during runtime. Currently the logic is inverted and therefore the driver exits early if the pin is actually available. This pr fixes this behavior. Also: Add `fallthrough` flags to switch/case Signed-off-by: Caspar Friedrich <c.s.w.friedrich@gmail.com>