Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp584365ybp; Fri, 4 Oct 2019 01:29:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqyiepISKBz8DdkStIiN05EWU3JPs/odsFgJ3NE3fiA3OuxNBq2a4cY/lKw14rQ4JmbHWh0u X-Received: by 2002:a17:906:7a0d:: with SMTP id d13mr11229876ejo.242.1570177783325; Fri, 04 Oct 2019 01:29:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570177783; cv=none; d=google.com; s=arc-20160816; b=IsC32UpjXQtAg/J6W6ReF3rF4ADSiofqBkFwWoinQsWSeIDICUMt0DOmYG1o1y4s4S AMByayoFvNWrZjXnSouAxKIfFIDDRCJ4kkPk0EbJzMqbGTUJSlWlQOC8ntNsTfRHG0iA ftLciZUQi0GP9IRIvbUOEmG3vsYg0Tey/IgDVyNBh5CurnyW4Q3v+WNY1TTbLu2V1+SS GnR38JHF5RQDhuj94DFMHT0xm0l2Nk2NDV8etmcV6w2jyzLk0/rV1U7gKnbQlenz4hE3 Fqt0ZxsrNIKCZjjeEPXB9wAjqTxuVJjopAL0hL4iOpyXqHjb2XALvDIChDB9v+Recohe NiBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=rszklT5AfFggE4WOlv5dnLOTdW5pIVWmTQcYuHaDbw8=; b=S9BvaLufiZg4CCFNkTmNaVb4idUuCm2iGF8P99/0ixo43UTUf/t7mZK+9rxdCW+9if SokKA7m9LimHp93dMH8X/8CcfMz2+ElqI7onx81OuMw3rEuZaKblBRTQMeyj0gEAn5hn KMSTXTTlucpfnkzZbfa3f8s9HDi6vrX81jTESoFiyyOmTtXMyUjtrERwTMUT3A0ciZvw AzqXDkIT0wpqcmMbIpr2gWealY1aFSwV6Fx7IF4/8Zv69/0Z0gIJ3QjbCc3YQuA+Usxx FYlt+zaYFt+4ygXbNI36ZM/F0QXJD4lAvp5IUuwgrikzbQJsuXwzVpzCg0C+WMdVV96R R2lQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ysoft.com header.s=20160406-ysoft-com header.b=M4s539QD; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ysoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b16si2749442ejb.165.2019.10.04.01.29.19; Fri, 04 Oct 2019 01:29:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ysoft.com header.s=20160406-ysoft-com header.b=M4s539QD; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ysoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731087AbfJDIJS (ORCPT + 99 others); Fri, 4 Oct 2019 04:09:18 -0400 Received: from uho.ysoft.cz ([81.19.3.130]:51804 "EHLO uho.ysoft.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731053AbfJDIJS (ORCPT ); Fri, 4 Oct 2019 04:09:18 -0400 Received: from [10.1.8.111] (unknown [10.1.8.111]) by uho.ysoft.cz (Postfix) with ESMTP id F164CA05D3; Fri, 4 Oct 2019 10:09:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ysoft.com; s=20160406-ysoft-com; t=1570176557; bh=rszklT5AfFggE4WOlv5dnLOTdW5pIVWmTQcYuHaDbw8=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=M4s539QDrgzbTtln0Of3sHmOcK4SYwaYlRV4rQGuS1bLu2khid6UbB76wGystnC21 1+/oLmaaGXKu620WjbRLPO+Rg8u2QvxBsceODjFhvVZgwT9L7wwGaYg4PEvrSqMiPT uNDEmI2kUUR3jAin5BXApxowlxMjG5sh/BfdNu2o= Subject: Re: [PATCH] Input: add input_get_poll_interval() To: Dmitry Torokhov , "linux-input@vger.kernel.org" Cc: Benjamin Tissoires , "linux-kernel@vger.kernel.org" References: <20191002215812.GA135681@dtor-ws> From: =?UTF-8?B?TWljaGFsIFZva8OhxI0=?= Message-ID: Date: Fri, 4 Oct 2019 10:09:16 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20191002215812.GA135681@dtor-ws> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02. 10. 19 23:58, Dmitry Torokhov wrote: > Some drivers need to be able to know the current polling interval for > devices working in polling mode, let's allow them fetching it. > > Signed-off-by: Dmitry Torokhov Just tested to use this function from a mpr121_touchkey driver. Works as expected. When I change the poll interval from sysfs, the new value is correctly reported. Tested-by: Michal Vokáč > --- > drivers/input/input-poller.c | 9 +++++++++ > include/linux/input.h | 1 + > 2 files changed, 10 insertions(+)