Commit 50161b27 authored by Dan Carpenter's avatar Dan Carpenter Committed by Jonathan Cameron
Browse files

iio: bmi323: fix reversed if statement in bmi323_core_runtime_resume()



This reversed if statement means that the function just returns success
without writing to the registers.

Fixes: 16531118 ("iio: bmi323: peripheral in lowest power state on suspend")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
Link: https://patch.msgid.link/689a2122-6e2f-4b0c-9a1c-39a98621c6c1@stanley.mountain


Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 506a1ac4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment