We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3220bd commit dd29cb4Copy full SHA for dd29cb4
drivers/watchdog/mlx_wdt.c
@@ -100,9 +100,8 @@ static int mlxreg_wdt_ping(struct watchdog_device *wdd)
100
struct mlxreg_wdt *wdt = watchdog_get_drvdata(wdd);
101
struct mlxreg_core_data *reg_data = &wdt->pdata->data[wdt->ping_idx];
102
103
- return regmap_update_bits_base(wdt->regmap, reg_data->reg,
104
- ~reg_data->mask, BIT(reg_data->bit),
105
- NULL, false, true);
+ return regmap_write_bits(wdt->regmap, reg_data->reg, ~reg_data->mask,
+ BIT(reg_data->bit));
106
}
107
108
static int mlxreg_wdt_set_timeout(struct watchdog_device *wdd,
0 commit comments