Skip to content
Snippets Groups Projects
Commit 2bd17fe1 authored by John Crispin's avatar John Crispin
Browse files

fixes kernel oops when reset button was pressed too often on atheros

SVN-Revision: 12245
parent c11df62f
No related branches found
No related tags found
No related merge requests found
...@@ -129,10 +129,8 @@ static irqreturn_t button_handler(int irq, void *dev_id) ...@@ -129,10 +129,8 @@ static irqreturn_t button_handler(int irq, void *dev_id)
seen = jiffies; seen = jiffies;
if(event->set && no_release_workaround) if(event->set && no_release_workaround)
{ mod_timer(&rst_button_timer, jiffies + (HZ / 4));
rst_button_timer.expires = jiffies + (HZ / 4);
add_timer(&rst_button_timer);
}
return IRQ_HANDLED; return IRQ_HANDLED;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment