From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752998AbbHESvm (ORCPT ); Wed, 5 Aug 2015 14:51:42 -0400 Received: from mail-pd0-f181.google.com ([209.85.192.181]:36776 "EHLO mail-pd0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751935AbbHESvk (ORCPT ); Wed, 5 Aug 2015 14:51:40 -0400 Date: Wed, 5 Aug 2015 11:51:37 -0700 From: Dmitry Torokhov To: linux-input@vger.kernel.org Cc: Benson Leung , Charlie Mooney , James Chen , Scott Liu , linux-kernel@vger.kernel.org Subject: [PATCH] Input: elants_i2c - enable asynchronous probing Message-ID: <20150805185137.GA31337@dtor-ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It takes a bit of time to go through controller power up sequence and initialization. To not stall the overall boot progress let's probe the controller asynchronously, given that userspace is usually prepared for hot-plugging of input devices and thus does not rely on particular ordering. Signed-off-by: Dmitry Torokhov Reviewed-by: Benson Leung Signed-off-by: Dmitry Torokhov --- drivers/input/touchscreen/elants_i2c.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/touchscreen/elants_i2c.c b/drivers/input/touchscreen/elants_i2c.c index 1912265..6f71556 100644 --- a/drivers/input/touchscreen/elants_i2c.c +++ b/drivers/input/touchscreen/elants_i2c.c @@ -1410,6 +1410,7 @@ static struct i2c_driver elants_i2c_driver = { .pm = &elants_i2c_pm_ops, .acpi_match_table = ACPI_PTR(elants_acpi_id), .of_match_table = of_match_ptr(elants_of_match), + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, }; module_i2c_driver(elants_i2c_driver); -- 2.5.0.rc2.392.g76e840b -- Dmitry