Skip to content
Commit 598de061 authored by Caspar Friedrich's avatar Caspar Friedrich Committed by Carles Cufí
Browse files

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: default avatarCaspar Friedrich <c.s.w.friedrich@gmail.com>
parent b0564dfd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment