[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <fb22c049-d070-bd4f-baba-e094b046ec85@gmail.com>
Date: Wed, 25 Mar 2020 22:41:24 +0300
From: Dmitry Osipenko <digetx@...il.com>
To: Jiada Wang <jiada_wang@...tor.com>, nick@...anahar.org,
dmitry.torokhov@...il.com, jikos@...nel.org,
benjamin.tissoires@...hat.com, bsz@...ihalf.com,
rydberg@...math.org
Cc: linux-input@...r.kernel.org, linux-kernel@...r.kernel.org,
erosca@...adit-jv.com, Andrew_Gabbasov@...tor.com
Subject: Re: [PATCH v9 52/55] input: touchscreen: atmel_mxt_ts: Added sysfs
entry for touchscreen status
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.
Powered by blists - more mailing lists