summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mfd/da9063.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/da9063.c b/drivers/mfd/da9063.c
index b61e764876..7099c48703 100644
--- a/drivers/mfd/da9063.c
+++ b/drivers/mfd/da9063.c
@@ -270,7 +270,7 @@ static int da9063_watchdog_set_timeout(struct watchdog *wd, unsigned timeout)
while (timeout > (2048 << scale) && scale <= 6)
scale++;
dev_dbg(dev, "calculated TWDSCALE=%u (req=%ims calc=%ims)\n",
- scale, timeout, 2048 << scale);
+ scale + 1, timeout, 2048 << scale);
scale++; /* scale 0 disables the WD */
}