slimbus: Add braces around suspicious indent
This looks wrong. Let's add braces here to fix the suspicious
indentation.
CRs-Fixed: 2016162
Change-Id: Ibfad0b9398e81c0b10ccaded9e06a23355a4f3e5
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
diff --git a/drivers/slimbus/slimbus.c b/drivers/slimbus/slimbus.c
index 80b5874..567f290 100644
--- a/drivers/slimbus/slimbus.c
+++ b/drivers/slimbus/slimbus.c
@@ -2813,9 +2813,10 @@
struct slim_ich *slc = arr[i];
if (slc->state == SLIM_CH_ACTIVE ||
- slc->state == SLIM_CH_SUSPENDED)
+ slc->state == SLIM_CH_SUSPENDED) {
slc->offset = slc->newoff;
slc->interval = slc->newintr;
+ }
}
}
static void slim_chan_changes(struct slim_device *sb, bool revert)