Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp530424pxb; Mon, 7 Feb 2022 17:58:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJyfGt7gbdTwT91mnJzYF8bl8262JS2pFro+arH805WRSkraVxpU8UwtOEUh3w/rNypBQrKv X-Received: by 2002:a05:6402:1910:: with SMTP id e16mr2237729edz.11.1644285496574; Mon, 07 Feb 2022 17:58:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644285496; cv=none; d=google.com; s=arc-20160816; b=SBwSxps7A3pQYJCWolvf9GNyy0h427LFMaZkTMjdQITBSGw/rJTw5JV71pIdDH7rAs /BIS5eoG1boJaQWcWjUslWf1dGACruk1osTNMmfYPlnJxPaa0DrE3xfA+RaaLOsCOy5D KeP56fKknKJsdeqULgo4/wucLq87+d+Z8L7ekS3bjvVZQdm34F8x5sCQKLmRyo7/hqbO lWMJQ1XlWGbbJab5llWJ+XA8HZyoAqc4ejTTUlAFjJD3Ih2lVfCTKjiTCjU9uVVB57R0 MBl0gcJmt6v2Sd/bQ3q77ibM6EyZyaThlBgBX+rLCv2KTbAoG3b+7x1Uta5tXwwGPTR1 71mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:organization:content-disposition :mime-version:mail-followup-to:message-id:subject:cc:to:from:date; bh=+nMKr2spobeqCjI0PPow7CBoughHGBM9d1Lkiyu/cAw=; b=TwbIIEcswP1aksVOWTwTJAClv6S+psbCzcgXIFkJrvYUT7RHWN8JirbKltEB1tynuV RDeWh7/aVP1mAp0tmlUU0K8AtWcNUv8QQ8A7wv6P27DOeqiixncXyyKdtGqAqOBexdkR Zyye0Pc0F3e5w07sf98xI4axzfQfcwap/RBphT6n8Vdd9xJRwPm5QOTlTOp688OylpLy sia2KE6Yfw4ArVlCZtOqqEAQxPlOC4Og/LKR8Eb8p+FYCV/2BF4UXvPwrR4F+PzfhlB9 JxPaLfu0DAGotnEZJtdS9rmR7ia47yO2Lzv8F5geCLRZaGYxl4MT4mXV+Jf7wIAdBUCF zmgg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w15si9084232edd.324.2022.02.07.17.57.50; Mon, 07 Feb 2022 17:58:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1381423AbiBEXfS (ORCPT + 99 others); Sat, 5 Feb 2022 18:35:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229454AbiBEXfQ (ORCPT ); Sat, 5 Feb 2022 18:35:16 -0500 X-Greylist: delayed 308 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sat, 05 Feb 2022 15:35:14 PST Received: from hera.aquilenet.fr (hera.aquilenet.fr [IPv6:2a0c:e300::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A125DC061348 for ; Sat, 5 Feb 2022 15:35:14 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 54ADB1F7; Sun, 6 Feb 2022 00:30:00 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2xG9pPbeLRYL; Sun, 6 Feb 2022 00:29:59 +0100 (CET) Received: from begin (unknown [IPv6:2a01:cb19:956:1b00:de41:a9ff:fe47:ec49]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 34512171; Sun, 6 Feb 2022 00:29:59 +0100 (CET) Received: from samy by begin with local (Exim 4.95) (envelope-from ) id 1nGUVB-00HZhK-PH; Sun, 06 Feb 2022 00:29:57 +0100 Date: Sun, 6 Feb 2022 00:29:57 +0100 From: Samuel Thibault To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, speakup@linux-speakup.org Subject: [PATCH] [speakup] Allow lower values for the flush parameter Message-ID: <20220205232957.bc6o6yyt5hitg754@begin> Mail-Followup-To: Samuel Thibault , gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, speakup@linux-speakup.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: I am not organized User-Agent: NeoMutt/20170609 (1.8.3) X-Spamd-Bar: / Authentication-Results: hera.aquilenet.fr; none X-Rspamd-Server: hera X-Rspamd-Queue-Id: 54ADB1F7 X-Spamd-Result: default: False [0.40 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; MID_RHS_NOT_FQDN(0.50)[] X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_NEUTRAL,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Users needing it with the dectlk synth report that a 100ms flush delay is still noticeable and prefer to set it to e.g. 10ms. This leaves the default to 4000ms (since hitting it is a sign that the cable is faulty and should be replaced), but allows to set it as short as 10ms. Signed-off-by: Samuel Thibault diff --git a/drivers/accessibility/speakup/synth.c b/drivers/accessibility/speakup/synth.c index 2b8699673bac..eea2a2fa4f01 100644 --- a/drivers/accessibility/speakup/synth.c +++ b/drivers/accessibility/speakup/synth.c @@ -348,7 +348,7 @@ struct var_t synth_time_vars[] = { { TRIGGER, .u.n = {NULL, 20, 10, 2000, 0, 0, NULL } }, { JIFFY, .u.n = {NULL, 50, 20, 200, 0, 0, NULL } }, { FULL, .u.n = {NULL, 400, 200, 60000, 0, 0, NULL } }, - { FLUSH, .u.n = {NULL, 4000, 100, 4000, 0, 0, NULL } }, + { FLUSH, .u.n = {NULL, 4000, 10, 4000, 0, 0, NULL } }, V_LAST_VAR };