[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YBJtqGn/ZpdFpNlg@kroah.com>
Date: Thu, 28 Jan 2021 08:54:16 +0100
From: Greg KH <gregkh@...uxfoundation.org>
To: Samuel Thibault <samuel.thibault@...-lyon.org>
Cc: linux-kernel@...r.kernel.org, speakup@...ux-speakup.org
Subject: Re: [PATCH] speakup: Make dectlk flush timeout configurable
On Thu, Jan 28, 2021 at 12:44:44AM +0100, Samuel Thibault wrote:
> In case the serial port or cable got faulty, we may not be getting
> acknowledgements any more. The driver then currently waits for 4s to
> avoid jamming the device. This makes this delay configurable.
>
> Signed-off-by: Samuel Thibault <samuel.thibault@...-lyon.org>
> ---
> drivers/accessibility/speakup/speakup_dectlk.c | 11 ++++++++++-
> drivers/accessibility/speakup/spk_types.h | 3 ++-
> drivers/accessibility/speakup/synth.c | 3 +++
> drivers/accessibility/speakup/varhandlers.c | 1 +
> 4 files changed, 16 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/accessibility/speakup/speakup_dectlk.c b/drivers/accessibility/speakup/speakup_dectlk.c
> index d75de36..580ec79 100644
> --- a/drivers/accessibility/speakup/speakup_dectlk.c
> +++ b/drivers/accessibility/speakup/speakup_dectlk.c
> @@ -78,6 +78,8 @@ static struct kobj_attribute direct_attribute =
> __ATTR(direct, 0644, spk_var_show, spk_var_store);
> static struct kobj_attribute full_time_attribute =
> __ATTR(full_time, 0644, spk_var_show, spk_var_store);
> +static struct kobj_attribute flush_time_attribute =
> + __ATTR(flush_time, 0644, spk_var_show, spk_var_store);
__ATTR_RW()?
Also, no Documentation/ABI/ update for the new one user-visable
attribute? Please fix up.
thanks,
greg k-h
Powered by blists - more mailing lists