From patchwork Mon Nov 12 06:57:03 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Klimov X-Patchwork-Id: 1813011 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 9CC5E3FC54 for ; Tue, 27 Nov 2012 23:12:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756127Ab2K0XM2 (ORCPT ); Tue, 27 Nov 2012 18:12:28 -0500 Received: from mail-la0-f46.google.com ([209.85.215.46]:44299 "EHLO mail-la0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754885Ab2K0XM1 (ORCPT ); Tue, 27 Nov 2012 18:12:27 -0500 Received: by mail-la0-f46.google.com with SMTP id p5so7237938lag.19 for ; Tue, 27 Nov 2012 15:12:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:to:date:content-type:x-mailer:mime-version :content-transfer-encoding; bh=shNrWIf7KzJJT/SmCMeHyp55J5G/CdG0IpLo54hNog0=; b=Ck6wfZ52Fh+d/5f44l/MlJwwmQZ7D0iiKrYQY2UgAiFcgl4bpBi/kLOPPIAMhFDnSH xhGh0/15/IOB+9YUJ8ti57kSZu5+f1aUVtuUl8p6V3ZGxdZ/nN0J7puQsqZ7qZqEnuLC kxPfjM1ksAAERfkOwjpshh4IdkUszpKLznmpkKgHYA3bk2iX3b23nn1s3g6MPiYq1K1y 8izl+ydr+szMf+FXjKsJfoeB4TD36obMV3SUyaBXhl/AOu444ZF06PD+N4Zi52kwIm5j VkHfM2Q1r3IL47T7RrDWMfXlOdOKNzEBhro0FDtZ59IuVgq2BdDjXKj6DjbFRVop2BU6 NC6Q== Received: by 10.112.29.229 with SMTP id n5mr7498681lbh.130.1354057946745; Tue, 27 Nov 2012 15:12:26 -0800 (PST) Received: from [192.168.0.100] (ip-95-221-180-187.bb.netbynet.ru. [95.221.180.187]) by mx.google.com with ESMTPS id g5sm7581909lbk.7.2012.11.27.15.12.25 (version=SSLv3 cipher=OTHER); Tue, 27 Nov 2012 15:12:25 -0800 (PST) Message-ID: <1352703423.5567.20.camel@linux> Subject: [patch 02/03 v2] usb hid quirks for Masterkit MA901 usb radio From: Alexey Klimov To: linux-media@vger.kernel.org Date: Mon, 12 Nov 2012 07:57:03 +0100 X-Mailer: Evolution 3.4.4 Mime-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Don't let Masterkit MA901 USB radio be handled by usb hid drivers. This device will be handled by radio-ma901.c driver. Signed-off-by: Alexey Klimov --- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index 5de3bb3..8e06569 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -2025,6 +2025,7 @@ static const struct hid_device_id hid_ignore_list[] = { { HID_USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_HYBRID) }, { HID_USB_DEVICE(USB_VENDOR_ID_LD, USB_DEVICE_ID_LD_HEATCONTROL) }, { HID_USB_DEVICE(USB_VENDOR_ID_MADCATZ, USB_DEVICE_ID_MADCATZ_BEATPAD) }, + { HID_USB_DEVICE(USB_VENDOR_ID_MASTERKIT, USB_DEVICE_ID_MASTERKIT_MA901RADIO) }, { HID_USB_DEVICE(USB_VENDOR_ID_MCC, USB_DEVICE_ID_MCC_PMD1024LS) }, { HID_USB_DEVICE(USB_VENDOR_ID_MCC, USB_DEVICE_ID_MCC_PMD1208LS) }, { HID_USB_DEVICE(USB_VENDOR_ID_MICROCHIP, USB_DEVICE_ID_PICKIT1) }, diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index 1dcb76f..17aa4f6 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -533,6 +533,9 @@ #define USB_VENDOR_ID_MADCATZ 0x0738 #define USB_DEVICE_ID_MADCATZ_BEATPAD 0x4540 +#define USB_VENDOR_ID_MASTERKIT 0x16c0 +#define USB_DEVICE_ID_MASTERKIT_MA901RADIO 0x05df + #define USB_VENDOR_ID_MCC 0x09db #define USB_DEVICE_ID_MCC_PMD1024LS 0x0076 #define USB_DEVICE_ID_MCC_PMD1208LS 0x007a