From patchwork Mon Mar 6 18:54:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aaron Armstrong Skomra X-Patchwork-Id: 9607313 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 CA10F604DD for ; Mon, 6 Mar 2017 19:03:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D87EE27B2F for ; Mon, 6 Mar 2017 19:03:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CDAAC27F54; Mon, 6 Mar 2017 19:03:51 +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=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, 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 753CC27F4B for ; Mon, 6 Mar 2017 19:03:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753649AbdCFTDu (ORCPT ); Mon, 6 Mar 2017 14:03:50 -0500 Received: from mail-pf0-f195.google.com ([209.85.192.195]:32941 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754219AbdCFTDq (ORCPT ); Mon, 6 Mar 2017 14:03:46 -0500 Received: by mail-pf0-f195.google.com with SMTP id v190so7549828pfb.0 for ; Mon, 06 Mar 2017 11:03:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=4gAo1+jT8jSVg75qgTTMiBwjWdoUuXXEka/I1WDb85w=; b=SFhlHcw0KWy35FKVD/QbnxhHqjV5DF8JLzbYQxGbhOl2Vu2wmdjFtq2KUUfMmuppas Qs/ctmuhozUtAKUJUSStB7tXUwMK64aQvA/pP+5C80n29qYOwUThH6PUuTb2fgT9BP0Y 5DqW4jw0qpn7Nzmco95PH9vcLIIkLPwjBU3i9lmUPOAie6fp6FhpKJVYu5dCyqyGXmBX edOb1//Lm8Mw6Wdwf3M3Mt+x/1/Cg1E6pTwxqifvwxdriQN0Xjb4/bXOqTdhQX0toWjC ox0EU4EY8D2UOkWkExw7/j235fKiKqQKUSaXHfQHyGBW34BouLMMfSzBw8hQ33PJhO4/ c9HQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=4gAo1+jT8jSVg75qgTTMiBwjWdoUuXXEka/I1WDb85w=; b=f1p9ViIovUyIWl/r5WaEUJIn8w57gfhasChTCWEMKFaT9p7zd7UFiEpdDm3O660bal vEbGIQQ1R4oV5auFSQrO+clIYnEHGFfFRLEU3ecbltxKABhHHsce9BU6FnNWlPycdOHg k1LipQNXUl6F5gFd8HKjVJezPuRlEqzShkUSlG489KbHlQ/klcf2tM8FwPV39wntefDl u0BIojZjbb7uFV1TWBe5dckV5sFNs8+Tgv+63amOy7t9H+0U/7q6ifynYDYh2mjoEZju /w5ymmcmquLkQcD86mFkfcSOofC+EYxTVpul4rDAaR8BvVLQGDgJHnInSUS6NKlyZma3 GKgg== X-Gm-Message-State: AMke39ksMl15yg1chkVIz2mKcMV7lAeuPf2EexhGL+7PjUDBwAumRnFBEZtBmjIPNQ02IA== X-Received: by 10.84.150.129 with SMTP id h1mr28568202plh.86.1488826520463; Mon, 06 Mar 2017 10:55:20 -0800 (PST) Received: from thelibrarian.wacom.duckdns.org (71-36-101-170.ptld.qwest.net. [71.36.101.170]) by smtp.googlemail.com with ESMTPSA id r4sm41258361pgr.53.2017.03.06.10.55.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 06 Mar 2017 10:55:19 -0800 (PST) From: Aaron Armstrong Skomra To: linux-input@vger.kernel.org, jkosina@suse.cz, pinglinux@gmail.com, Ping.Cheng@wacom.com, killertofu@gmail.com, benjamin.tissoires@redhat.com Cc: Aaron Armstrong Skomra Subject: [PATCH 1/2] HID: wacom: Correct Intuos Pro 2 resolution Date: Mon, 6 Mar 2017 10:54:57 -0800 Message-Id: <1488826498-8578-2-git-send-email-skomra@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1488826498-8578-1-git-send-email-skomra@gmail.com> References: <1488826498-8578-1-git-send-email-skomra@gmail.com> 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 The features struct for the second gen Intuos Pro uses the wrong constant for the resolution. This fix is for commit 4922cd2. Signed-off-by: Aaron Armstrong Skomra --- drivers/hid/wacom_wac.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/hid/wacom_wac.c b/drivers/hid/wacom_wac.c index 4aa3de9..3d86446 100644 --- a/drivers/hid/wacom_wac.c +++ b/drivers/hid/wacom_wac.c @@ -4197,10 +4197,10 @@ static const struct wacom_features wacom_features_0x343 = WACOM_DTU_OFFSET, WACOM_DTU_OFFSET }; static const struct wacom_features wacom_features_0x360 = { "Wacom Intuos Pro M", 44800, 29600, 8191, 63, - INTUOSP2_BT, WACOM_INTUOS_RES, WACOM_INTUOS_RES, 9, .touch_max = 10 }; + INTUOSP2_BT, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 9, .touch_max = 10 }; static const struct wacom_features wacom_features_0x361 = { "Wacom Intuos Pro L", 62200, 43200, 8191, 63, - INTUOSP2_BT, WACOM_INTUOS_RES, WACOM_INTUOS_RES, 9, .touch_max = 10 }; + INTUOSP2_BT, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 9, .touch_max = 10 }; static const struct wacom_features wacom_features_HID_ANY_ID = { "Wacom HID", .type = HID_GENERIC, .oVid = HID_ANY_ID, .oPid = HID_ANY_ID };