Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3601180pxv; Mon, 19 Jul 2021 04:28:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx/8bqYrqoQMJKQF3pel2Kd5DWgyl2wTXBYThpYc+D8zwcnsv4vMyelsQE4S2eqOGHW7f1i X-Received: by 2002:a05:6402:692:: with SMTP id f18mr34342423edy.327.1626694106727; Mon, 19 Jul 2021 04:28:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626694106; cv=none; d=google.com; s=arc-20160816; b=encdCBzLEQfWadDsph0TWHURBPHvTLPG6MDkulfxe3/nrAtRWZPjp4sH92wI42RaP8 +1B51d6/7N8BiBZEzcJABogOzFopT8piHIMpvwmLHFRjX4/9z9WYHHxxwCqa3h+UiZad JCBRlX3Vcoo87yCqbGzqZPo5XaCAVD1AVLiJ6zOpBI1qqfv/b6cz+luL8cPa9JFlayOz 50v9qoJQYG6Kss9uhqk31BRKL6wnr7l/ATwpJOxL4Pyo7l04QSpkGSQR5sLYm3/KqAqm oFinPbmY3pIQWVtJWClOE61YEbN/hUzJB4DsdfYWQl2avjd9nGRTdaBGeR6UIxqdY5pb JmFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:dkim-signature:date; bh=0/Y6u48qOifQiO8sjTjGXgTMp0MuUyZkkooZrvuiSoQ=; b=it73FNUEDURcZ2unBS/wQiMPv43z8lFP4OOajHFUULhP2/1Ec7Vcl/M27pbo44pC0P qIkTQOT37ex+sVgT0nUCdZZZAlBW4caKvra2NckOn0f+iMdeW8n0UX/FWSsYgRqrrPVQ qOa71siaZz15VJXjdLjn4+Aju34MRG614yqc4j+4tpZkLo6tgU6WPd+5bjUed0DMoBnf rvOLRLkwQqIDoTmMsjqLQBbYMhe3f36qgNCOhq/xRiuC8NnTD36ywX7thnT5DJXxMorf GFvPGoKbkxqSEhXqZ0APoxi8imYS9sFtkqhIkrDqaBs12LhQMmZMvp/ql6SjsxnhLtfr 1C3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@weissschuh.net header.s=mail header.b=QTfw+WZ5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v16si11725869edc.281.2021.07.19.04.28.04; Mon, 19 Jul 2021 04:28:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@weissschuh.net header.s=mail header.b=QTfw+WZ5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236318AbhGSKoX (ORCPT + 99 others); Mon, 19 Jul 2021 06:44:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235905AbhGSKoU (ORCPT ); Mon, 19 Jul 2021 06:44:20 -0400 Received: from todd.t-8ch.de (todd.t-8ch.de [IPv6:2a01:4f8:c010:41de::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EBCD1C061574; Mon, 19 Jul 2021 03:35:59 -0700 (PDT) Date: Mon, 19 Jul 2021 13:24:57 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=weissschuh.net; s=mail; t=1626693897; bh=yzLETKdOH+GXTMHqntXOSgnP8jsRysvUGu+IjTrezqA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QTfw+WZ5Gp0fxA2U7q3NvIAOPHoUwoCpvZB3dtczm3AZ7xYFFtmiUNV834OYITLqu QI/dhl8/S2y/s0Pu5fWRPHfroiRKvtEhHZ99dFZmJOQ+222ccmcMRqMpycLQZ/Uwgo O80kAy4d1hO4XwGPEKNVmj74lVLhew4klSvMPzSk= From: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= To: Jiri Kosina , Benjamin Tissoires , linux-input@vger.kernel.org, Ben Chen Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] HID: cmedia: add support for HS-100B mute button Message-ID: References: <20210719110911.310701-1-linux@weissschuh.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210719110911.310701-1-linux@weissschuh.net> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mo, 2021-07-19T13:09+0200, Thomas Weißschuh wrote: > These chips report mute button events in bit 4 of their report without > it being part of the report descriptor. > Use a custom descriptor that maps this bit. > > Signed-off-by: Thomas Weißschuh > --- > v1: https://lore.kernel.org/linux-input/a769ae40-6d0c-47c4-803f-2c8dbc362f24@t-8ch.de/ > > v1 -> v2: > * Merged into the existing cmedia driver instead of creating a dedicated > driver. > > v2: https://lore.kernel.org/linux-input/20210716160659.154779-1-linux@weissschuh.net/ > > v2 -> v3: > * Fixed cosmetic checkpatch warnings > * CC-ed Ben Chen who is the original author of hid-cmedia.c > > drivers/hid/Kconfig | 5 +- > drivers/hid/hid-cmedia.c | 99 +++++++++++++++++++++++++++++++++++----- > drivers/hid/hid-ids.h | 1 + > drivers/hid/hid-quirks.c | 1 + > 4 files changed, 93 insertions(+), 13 deletions(-) > FYI: The Mail to Ben bounced, so we will probably have to do without his review. Thomas