From patchwork Mon Oct 29 01:41:16 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Klimov X-Patchwork-Id: 1660451 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 19E1DDFABE for ; Mon, 29 Oct 2012 01:41:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753417Ab2J2BlU (ORCPT ); Sun, 28 Oct 2012 21:41:20 -0400 Received: from mail-lb0-f174.google.com ([209.85.217.174]:48407 "EHLO mail-lb0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751780Ab2J2BlT (ORCPT ); Sun, 28 Oct 2012 21:41:19 -0400 Received: by mail-lb0-f174.google.com with SMTP id n3so2725051lbo.19 for ; Sun, 28 Oct 2012 18:41:18 -0700 (PDT) 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 :content-transfer-encoding:mime-version; bh=frjZhDhXogdQkVWAG7rHA79OvzDm/9i7ZgSocEzlfS4=; b=rHRok1HvWkC79djf8icK3J883E1o3AyEIVffHf4Od0xVx9tST3uxN0s/jKykhCgp6p R4jsuVGMScg0hmfygaNNOsoT41u40wcE82lQA73g6s4oDGaYIafc81XIeAvX6wVCa7M1 5VVYZTt6MYYXHpGDXqgvSuUzvKrtTbHDUI95kvDA+qJSE4zPWUZY0z4Kbrxj2ipBHniY frn1TZX/UzKdZyzd3NKmvEm9D6t1oEpQH0EM+Rs47GZMC1BiZkkv2+0X+aygPB8nQ1J6 w5/sA9pgAXXUbFMonG/rwrua9MjFltP29PG8i/Q7aXmgFQEX8M+mOaNcs5hTCcFEsOyd syWg== Received: by 10.112.103.234 with SMTP id fz10mr11496976lbb.38.1351474878880; Sun, 28 Oct 2012 18:41:18 -0700 (PDT) Received: from [192.168.0.42] (ip-79-111-44-185.bb.netbynet.ru. [79.111.44.185]) by mx.google.com with ESMTPS id oj5sm2556750lab.8.2012.10.28.18.41.17 (version=SSLv3 cipher=OTHER); Sun, 28 Oct 2012 18:41:18 -0700 (PDT) Message-ID: <1351474876.3986.55.camel@tux> Subject: [patch review 02/02] usb hid quirks for Masterkit MA901 usb radio From: Alexey Klimov To: linux-media@vger.kernel.org Date: Mon, 29 Oct 2012 05:41:16 +0400 X-Mailer: Evolution 3.2.3-0ubuntu6 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