From patchwork Fri Apr 11 19:32:22 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ping Cheng X-Patchwork-Id: 3971891 Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id F06D3BFF02 for ; Fri, 11 Apr 2014 19:32:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2C4D320274 for ; Fri, 11 Apr 2014 19:32:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2D31C201ED for ; Fri, 11 Apr 2014 19:32:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753288AbaDKTcM (ORCPT ); Fri, 11 Apr 2014 15:32:12 -0400 Received: from mail-pd0-f176.google.com ([209.85.192.176]:53936 "EHLO mail-pd0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752664AbaDKTcL (ORCPT ); Fri, 11 Apr 2014 15:32:11 -0400 Received: by mail-pd0-f176.google.com with SMTP id r10so5649124pdi.21 for ; Fri, 11 Apr 2014 12:32:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=it3GhUCLyB8I5HNYCSV+dCWZk6SI6kCIigoiXL2+XPs=; b=W+/8Cm/s89hYa7Ds02wW9q6hMbifTnYhjAcmHWEG+cA7TqK/67eYMY1JIr70XOALs5 BJ5qMREK+NcZgrDMGoCnuVA+q+Ap+nwUW4zMy3qhd9MFoaH5m1kpaLGnVrxuWNBZwhJe 24SIFXeyj1rZQOp7ouTIAP0OlN9Lxr0Lug3MDL0p0iQypQnQEXS6gYHk+TYkir2ZTFVW LNTHBBP6AFioZ4jmEimAh0CHnC6kAO5euRJeC5h9qfV9KDB14oQsGhPwRRqYAnlxtoXc zpx+N42CJdSR8YZWPa5gARKB4eFFSTHfEWs8M9kwMGf53F5QYtvveYOK/aGtAwPV0Ge2 jA+w== X-Received: by 10.66.155.7 with SMTP id vs7mr29617708pab.42.1397244730844; Fri, 11 Apr 2014 12:32:10 -0700 (PDT) Received: from wacom-XPS-8500.wacom.com ([67.51.163.2]) by mx.google.com with ESMTPSA id g6sm40013834pat.2.2014.04.11.12.32.08 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 11 Apr 2014 12:32:09 -0700 (PDT) From: Ping Cheng To: linux-input@vger.kernel.org Cc: dmitry.torokhov@gmail.com, Ping Cheng Subject: [PATCH 1/2] input: wacom - missed the last bit of expresskey for DTU-1031 Date: Fri, 11 Apr 2014 12:32:22 -0700 Message-Id: <1397244742-20012-1-git-send-email-pingc@wacom.com> X-Mailer: git-send-email 1.8.3.2 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Ping Cheng --- drivers/input/tablet/wacom_wac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/tablet/wacom_wac.c b/drivers/input/tablet/wacom_wac.c index 05f371d..3d094c9 100644 --- a/drivers/input/tablet/wacom_wac.c +++ b/drivers/input/tablet/wacom_wac.c @@ -1838,7 +1838,7 @@ int wacom_setup_input_capabilities(struct input_dev *input_dev, case DTU: if (features->type == DTUS) { input_set_capability(input_dev, EV_MSC, MSC_SERIAL); - for (i = 0; i < 3; i++) + for (i = 0; i < 4; i++) __set_bit(BTN_0 + i, input_dev->keybit); } __set_bit(BTN_TOOL_PEN, input_dev->keybit);