mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-30 08:02:30 +00:00
Merge git://www.linux-watchdog.org/linux-watchdog
Pull a watchdog fix from Wim Van Sebroeck: "It will fix the size when reading or writing to WD Timer port 0x72 in the hpwdt driver." * git://www.linux-watchdog.org/linux-watchdog: hpwdt: Only BYTE reads/writes to WD Timer port 0x72
This commit is contained in:
commit
65dd4b9108
1 changed files with 3 additions and 3 deletions
|
@ -435,16 +435,16 @@ static void hpwdt_start(void)
|
|||
{
|
||||
reload = SECS_TO_TICKS(soft_margin);
|
||||
iowrite16(reload, hpwdt_timer_reg);
|
||||
iowrite16(0x85, hpwdt_timer_con);
|
||||
iowrite8(0x85, hpwdt_timer_con);
|
||||
}
|
||||
|
||||
static void hpwdt_stop(void)
|
||||
{
|
||||
unsigned long data;
|
||||
|
||||
data = ioread16(hpwdt_timer_con);
|
||||
data = ioread8(hpwdt_timer_con);
|
||||
data &= 0xFE;
|
||||
iowrite16(data, hpwdt_timer_con);
|
||||
iowrite8(data, hpwdt_timer_con);
|
||||
}
|
||||
|
||||
static void hpwdt_ping(void)
|
||||
|
|
Loading…
Reference in a new issue