Commit 50161b2
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: 1653111 ("iio: bmi323: peripheral in lowest power state on suspend")
Signed-off-by: Dan Carpenter <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>1 parent 506a1ac commit 50161b2
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2231 | 2231 | | |
2232 | 2232 | | |
2233 | 2233 | | |
2234 | | - | |
| 2234 | + | |
| 2235 | + | |
2235 | 2236 | | |
| 2237 | + | |
2236 | 2238 | | |
2237 | 2239 | | |
2238 | 2240 | | |
| |||
0 commit comments