Commit cebf129b authored by Sebastian Krzyszkowiak's avatar Sebastian Krzyszkowiak Committed by Martin Kepplinger
Browse files

power: supply: max17042_battery: log SOC threshold using debug log level

(upstream commit eaa2c490

)

There's no need to print a message on every change in battery percentage
on regular log levels.
Signed-off-by: Sebastian Krzyszkowiak's avatarSebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent b331a7d4
Pipeline #71145 passed with stage
in 67 minutes and 45 seconds
......@@ -899,7 +899,7 @@ static irqreturn_t max17042_thread_handler(int id, void *dev)
regmap_read(chip->regmap, MAX17042_STATUS, &val);
if ((val & STATUS_INTR_SOCMIN_BIT) ||
(val & STATUS_INTR_SOCMAX_BIT)) {
dev_info(&chip->client->dev, "SOC threshold INTR\n");
dev_dbg(&chip->client->dev, "SOC threshold INTR\n");
max17042_set_soc_threshold(chip, 1);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment