From patchwork Thu May 28 10:55:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Young X-Patchwork-Id: 11575541 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B8C0C1391 for ; Thu, 28 May 2020 10:55:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AA70920888 for ; Thu, 28 May 2020 10:55:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388018AbgE1KzM (ORCPT ); Thu, 28 May 2020 06:55:12 -0400 Received: from gofer.mess.org ([88.97.38.141]:43419 "EHLO gofer.mess.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387926AbgE1KzL (ORCPT ); Thu, 28 May 2020 06:55:11 -0400 Received: by gofer.mess.org (Postfix, from userid 1000) id 88E34C635B; Thu, 28 May 2020 11:55:08 +0100 (BST) From: Sean Young To: linux-media@vger.kernel.org, linux-usb@vger.kernel.org, Greg KH , Oliver Neukum Subject: [PATCH v4 0/3] IR Toy / IR Droid USB driver Date: Thu, 28 May 2020 11:55:05 +0100 Message-Id: <20200528105508.5183-1-sean@mess.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org changes since v3: fix embarassing compilation failure make driver more robust against malicious fake device changes since v2: review comments from Oliver Neukum changes since v1: v1 was a serio driver, this has now been re-written to be a USB driver. This requires a blacklist in the usb cdc-acm driver. This also allows us to feed IR data to the device from the urb callback handler, which reduces the chance of unwanted gaps in the transmission. Sean Young (3): media: rc: add support for Infrared Toy and IR Droid devices USB: cdc-acm: blacklist IR Droid / IR Toy device MAINTAINERS: rc core and lirc maintainership MAINTAINERS | 13 + drivers/media/rc/Kconfig | 11 + drivers/media/rc/Makefile | 1 + drivers/media/rc/ir_toy.c | 509 ++++++++++++++++++++++++++++++++++++ drivers/usb/class/cdc-acm.c | 6 + 5 files changed, 540 insertions(+) create mode 100644 drivers/media/rc/ir_toy.c