diff options
Diffstat (limited to 'target/linux/ifxmips/files/arch/mips/ifxmips/gpio.c')
-rw-r--r-- | target/linux/ifxmips/files/arch/mips/ifxmips/gpio.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/target/linux/ifxmips/files/arch/mips/ifxmips/gpio.c b/target/linux/ifxmips/files/arch/mips/ifxmips/gpio.c index 931d3ac1d2..01212d1aef 100644 --- a/target/linux/ifxmips/files/arch/mips/ifxmips/gpio.c +++ b/target/linux/ifxmips/files/arch/mips/ifxmips/gpio.c @@ -303,7 +303,7 @@ reset_button_poll(unsigned long unused) { struct event_t *event; - rst_button_timer.expires = jiffies + HZ; + rst_button_timer.expires = jiffies + (HZ / 4); add_timer(&rst_button_timer); if (pressed != ifxmips_port_get_input(IFXMIPS_RST_PORT, IFXMIPS_RST_PIN)) @@ -312,7 +312,6 @@ reset_button_poll(unsigned long unused) pressed = 0; else pressed = 1; - printk("reset button was %s\n", (pressed ? "pressed" : "released")); event = (struct event_t *) kzalloc(sizeof(struct event_t), GFP_ATOMIC); if (!event) { |