From patchwork Tue Jul 3 00:30:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Donald Shanty III X-Patchwork-Id: 10502737 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B87CA602BC for ; Tue, 3 Jul 2018 00:30:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A779F28BDD for ; Tue, 3 Jul 2018 00:30:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9B45B28BDF; Tue, 3 Jul 2018 00:30:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 84D4C28BDD for ; Tue, 3 Jul 2018 00:30:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753159AbeGCAaT (ORCPT ); Mon, 2 Jul 2018 20:30:19 -0400 Received: from mail-1857040133.protonmail.ch ([185.70.40.133]:61255 "EHLO mail-1857040133.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753105AbeGCAaT (ORCPT ); Mon, 2 Jul 2018 20:30:19 -0400 Date: Mon, 02 Jul 2018 20:30:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=default; t=1530577817; bh=jzs3tPHFMXd/ckH+9OD0gRBpFTLwkAtFcH88T/rERc8=; h=Date:To:From:Cc:Reply-To:Subject:Feedback-ID:From; b=nNTwa3f8SlxTwpxpcFIHTC0xg0+8YBjxCeaJif0XJaQm0ovIkkKk7bvnqnpOHKs1m P8gDn5L7iKztUmsTboGVUCxcZwR+TNg+IzxEv3zKyX4ALyx5iy4XLlZ0eJxi3fX6os N4yEwOTXtgJui8IFEngagEM8OkT70ZvK2v3m0gzI= To: "dmitry.torokhov@gmail.com" From: Donald Shanty III Cc: "linux-input@vger.kernel.org" Reply-To: Donald Shanty III Subject: [PATCH] input: mouse: elan_i2c_core: fixed lenovo ideapad 330 Message-ID: <2g3mKs1L1RQqM5Y8BIeCZMTq5bZPOQ0HB6NXaXVflWFWn9JN0XfGKAkhrff5y9rGdeFdvMFGTxbHMYYOewESES7Nq-mO_9gca3mKbLtrTYc=@protonmail.com> Feedback-ID: jELsOwcoVcu3EjiIZPLDMyezL7Br7ovhcrRAinNltH0WUxdbEKTUzNqPIVPB8NdRFmDrOUgbpbRwYkSL7oN9Rg==:Ext:ProtonMail MIME-Version: 1.0 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fixed bug where the touchpad driver would not initialize on Lenovo Ideapad 330 series laptops due to the ACPI ID not being included in the file. After this patch is made, the touchpad works as expected. Signed-off-by: Donald Shanty III --- drivers/input/mouse/elan_i2c_core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/input/mouse/elan_i2c_core.c b/drivers/input/mouse/elan_i2c_core.c index 1f9cd7d8b7ad..08d49c65ca3d 100644 --- a/drivers/input/mouse/elan_i2c_core.c +++ b/drivers/input/mouse/elan_i2c_core.c @@ -971,7 +971,7 @@ static irqreturn_t elan_isr(int irq, void *dev_id) * When device is connected to i2c bus, when all IAP page writes * complete, the driver will receive interrupt and must read * 0000 to confirm that IAP is finished. - */ + */ if (data->in_fw_update) { complete(&data->fw_completion); goto out; @@ -1346,6 +1346,7 @@ static const struct acpi_device_id elan_acpi_id[] = { { "ELAN0611", 0 }, { "ELAN0612", 0 }, { "ELAN0618", 0 }, + { "ELAN061D", 0 }, { "ELAN1000", 0 }, { } };