lkml.org 
[lkml]   [2013]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRE: [PATCH v4 3/8] watchdog/at91sam9_wdt: Convert to use the watchdog framework
    Date
    Hi Wim,

    > This code not only converts the watchdog to the new framework,
    > but it also adds the is_enable related code changes which should
    > be a seperate patch.
    >
    > So I took your original patch and changed it to the below at91sam9_wdt
    > watchdog conversion patch. Note: this is also without Fabio's timeout-sec
    > patch, this one needs to come after the conversion.
    >
    > Please test this patch and let me know if this works (the watchdog should
    > behave the same before as after this patch).

    Sorry for so late reply due to Chinese New Year's holiday.

    I applied it on the linux-watchdog trees,
    and tested it on at91sam9m10g45ek both DT and non-DT support, at91sam9g25ek with DT support.

    It works OK after one compilation error fixed.

    > + at91wdt_private.next_heartbeat = jiffies + wdd->timeout * HZ;
    + at91wdt_private.next_heartbeat = jiffies + at91_wdt_dev.timeout * HZ;

    Thank you very much.

    Best Regards,
    Wenyou Yang



    \
     
     \ /
      Last update: 2013-02-18 07:01    [W:2.221 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site