summaryrefslogtreecommitdiffstats
path: root/drivers/reset/reset-brcmstb-rescal.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/reset/reset-brcmstb-rescal.c')
-rw-r--r--drivers/reset/reset-brcmstb-rescal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/reset/reset-brcmstb-rescal.c b/drivers/reset/reset-brcmstb-rescal.c
index b6f074d6a65f..433fa0c40e47 100644
--- a/drivers/reset/reset-brcmstb-rescal.c
+++ b/drivers/reset/reset-brcmstb-rescal.c
@@ -38,7 +38,7 @@ static int brcm_rescal_reset_set(struct reset_controller_dev *rcdev,
}
ret = readl_poll_timeout(base + BRCM_RESCAL_STATUS, reg,
- !(reg & BRCM_RESCAL_STATUS_BIT), 100, 1000);
+ (reg & BRCM_RESCAL_STATUS_BIT), 100, 1000);
if (ret) {
dev_err(data->dev, "time out on SATA/PCIe rescal\n");
return ret;