lkml.org 
[lkml]   [2020]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v9 52/55] input: touchscreen: atmel_mxt_ts: Added sysfs entry for touchscreen status
From
Date
25.03.2020 22:35, Dmitry Osipenko пишет:
...
>> + INIT_WORK(&data->watchdog_work, mxt_watchdog_work);
>> +
>> + /* setup watchdog timer */
>> + timer_setup(&data->watchdog_timer, mxt_watchdog_timer, 0);
>> +
>> + mxt_start_wd_timer(data);
>
> I'd expect it to be optional and opt-in by either using #ifdef
> TOUCHSCREEN_ATMEL_MXT_DEBUG or having a new debugfs option to explicitly
> enable the "watchdog".
>

It also could be a kernel module parameter.

\
 
 \ /
  Last update: 2020-03-25 20:41    [W:0.077 / U:0.868 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site