wm831x_wdt.c (86a1e1896c2710402e29a875d8d830244274244d) wm831x_wdt.c (0197c1c49ef1ff386b2ebb6d3b0fc85a8e174b5c)
1/*
2 * Watchdog driver for the wm831x PMICs
3 *
4 * Copyright (C) 2009 Wolfson Microelectronics
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation

--- 149 unchanged lines hidden (view full) ---

158 WM831X_WDOG_TO_MASK,
159 wm831x_wdt_cfgs[i].val);
160 wm831x_reg_lock(wm831x);
161 } else {
162 dev_err(wm831x->dev, "Failed to unlock security key: %d\n",
163 ret);
164 }
165
1/*
2 * Watchdog driver for the wm831x PMICs
3 *
4 * Copyright (C) 2009 Wolfson Microelectronics
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation

--- 149 unchanged lines hidden (view full) ---

158 WM831X_WDOG_TO_MASK,
159 wm831x_wdt_cfgs[i].val);
160 wm831x_reg_lock(wm831x);
161 } else {
162 dev_err(wm831x->dev, "Failed to unlock security key: %d\n",
163 ret);
164 }
165
166 wdt_dev->timeout = timeout;
167
166 return ret;
167}
168
169static const struct watchdog_info wm831x_wdt_info = {
170 .options = WDIOF_SETTIMEOUT | WDIOF_KEEPALIVEPING | WDIOF_MAGICCLOSE,
171 .identity = "WM831x Watchdog",
172};
173

--- 152 unchanged lines hidden ---
168 return ret;
169}
170
171static const struct watchdog_info wm831x_wdt_info = {
172 .options = WDIOF_SETTIMEOUT | WDIOF_KEEPALIVEPING | WDIOF_MAGICCLOSE,
173 .identity = "WM831x Watchdog",
174};
175

--- 152 unchanged lines hidden ---