From patchwork Wed Jan 25 20:08:35 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: 9537857 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 BE6CF6042B for ; Wed, 25 Jan 2017 20:09:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B07BE27D4D for ; Wed, 25 Jan 2017 20:09:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A568527F99; Wed, 25 Jan 2017 20:09:22 +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 3572927D4D for ; Wed, 25 Jan 2017 20:09:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751635AbdAYUJV (ORCPT ); Wed, 25 Jan 2017 15:09:21 -0500 Received: from mail-pg0-f65.google.com ([74.125.83.65]:35604 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751324AbdAYUJV (ORCPT ); Wed, 25 Jan 2017 15:09:21 -0500 Received: by mail-pg0-f65.google.com with SMTP id 204so20532032pge.2 for ; Wed, 25 Jan 2017 12:09:20 -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=LxsZd8jcnwlDsRVeyJ6RE9g9K51JskzFq99ERTm3GyA=; b=qALslYOc4vVfC6uTqfKN9ngvdRB8/aSrOw90OuAYyhy2kxwAkQ1HPz8Cwh+bhHfuuK IvoYo2BiSAKIz1MQzF8UCFpVoki1q3TFu9P1NlsClqPEecBwMhRUNNpZ+lNPcOL4OlFi 8aZhXNW2jipd5e4OEgUmovUMjoPvz9PgfRl4b688YOSgGaAjqsS8beIH1s5KMZ+0hPtc xg9BcvafDOPDOpS50/l4pNY+yndzg6cGm4KAj3csr6GCx0R2DDK3WS2rTmuTWUXpHR8K oFIyNYOK8dR0bSwlCAelsnV9Fz1+WBZX8CcYz/YHZJiQm1PdQfepiGRAWBlm2rd8tiTh 6s5g== 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=LxsZd8jcnwlDsRVeyJ6RE9g9K51JskzFq99ERTm3GyA=; b=IjBVLF6cyItxC6j7XQm43YbPI+kOa3wan+++BdP3XyULcfaHHLugA7L2iKrPVP4nFP 3GY8l6satZaJMAg7RZF6Y0+m0KtWLSjjJPwPj//RaF1hUTPjZQwRFRy0aiu4J0ASjFXG OLbqc2gZ6LeehPgi9qu2wHfo5TGRLXRG5tn6rb1WquKp/dTopt/6UsJSHepDKnc30KJt 8XPwV8xzFxORj0EIeglmIlRJCCpUcu3ZMcsik3HwK97VL0aP3VAG8om2hdSsU7QKl/PU MicVVDXfvRBajcKpkDy38uCs3hXLEM/dqahTIY1xz6zXCUb+gKYG9gS63Ep9U6BxztQc FP/g== X-Gm-Message-State: AIkVDXKmgWQ2+Gn7AU8xCaCfyGrF1UDJOdyG8XHeJQExzN1jzROLmbL8U8hpU4ETFUf7fg== X-Received: by 10.99.164.18 with SMTP id c18mr1257242pgf.40.1485374960496; Wed, 25 Jan 2017 12:09:20 -0800 (PST) Received: from localhost.localdomain (71-36-102-37.ptld.qwest.net. [71.36.102.37]) by smtp.googlemail.com with ESMTPSA id g64sm3066106pfc.57.2017.01.25.12.09.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 25 Jan 2017 12:09:19 -0800 (PST) From: Aaron Armstrong Skomra To: linux-input@vger.kernel.org, jkosina@suse.cz, benjamin.tissoires@redhat.com, pinglinux@gmail.com, killertofu@gmail.com Cc: Jason Gerecke Subject: [PATCH 1/8] HID: wacom: Enable HID_GENERIC codepath for Bluetooth devices Date: Wed, 25 Jan 2017 12:08:35 -0800 Message-Id: <1485374922-3417-2-git-send-email-skomra@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1485374922-3417-1-git-send-email-skomra@gmail.com> References: <1485374922-3417-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 From: Jason Gerecke There no reason a Bluetooth device with the appropriate HID descriptor couldn't be used through the HID_GENERIC codepath in the future. Ensure that the driver attempts to bind to these devices. Signed-off-by: Jason Gerecke --- drivers/hid/wacom_wac.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hid/wacom_wac.c b/drivers/hid/wacom_wac.c index 0884dc9..a23b736 100644 --- a/drivers/hid/wacom_wac.c +++ b/drivers/hid/wacom_wac.c @@ -4121,6 +4121,7 @@ const struct hid_device_id wacom_ids[] = { { USB_DEVICE_WACOM(HID_ANY_ID) }, { I2C_DEVICE_WACOM(HID_ANY_ID) }, + { BT_DEVICE_WACOM(HID_ANY_ID) }, { } }; MODULE_DEVICE_TABLE(hid, wacom_ids);