Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 82513C05027 for ; Mon, 23 Jan 2023 13:30:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231305AbjAWNaj (ORCPT ); Mon, 23 Jan 2023 08:30:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231881AbjAWNa3 (ORCPT ); Mon, 23 Jan 2023 08:30:29 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 74F6620065 for ; Mon, 23 Jan 2023 05:29:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1674480584; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=h1pOiofCrgYVfSVCirt+sR1su5e7XxOWBxxQVEHlSxM=; b=BQfrKg1yZut7W5ybxCWBlkXKZ5+a9HNFdEytiqwmkc80KHiUObM8qdh3q6g1QqLyVxk7bW Siwu/wzQSGb68l7PtwSqlkcx2HvEqGGE4UhHJiXlohUAsKAkx+EtTFN4GD2rIzaV4/Lxrg OJYBfcBh1FNjhGzs7FGQhtuRRu7rE0c= Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-189-xdnNglWCNuKYmKMMCSkH5A-1; Mon, 23 Jan 2023 08:29:43 -0500 X-MC-Unique: xdnNglWCNuKYmKMMCSkH5A-1 Received: by mail-ed1-f70.google.com with SMTP id m12-20020a056402430c00b0049e4ac58509so8480280edc.16 for ; Mon, 23 Jan 2023 05:29:43 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=h1pOiofCrgYVfSVCirt+sR1su5e7XxOWBxxQVEHlSxM=; b=psKCQnjC3ZMOCQhn9fGvXdfaS89g/lekzRaX2kziVqHQNceyeO+DcVud9cfzuUyUgn ym4gU/HzGqro0nGgqNtZuhUMsKueAUqOKkdBU7CcmD5IdfUgSKTUaL9amcHkX+/iPIJ+ 7yrXiTXkJ+cZa29BpfJ5AKzLejnGaxhp337ArAJlfBlr4pG+yKPuTK3MMCA5zZsZ++FP O1V43CmA8gJ2YvBbwL/labiv3rbfLHOJuRPytVMdJEQsfrVs6OEcbgsZIZAXuJKCkoWc 9DcWf8Y2lLxzuV1de1f429dLx3WUUEmOgyuzGy6DZy6z7g+yUP7Ygmn8E7qX1U5dSOrX MXHQ== X-Gm-Message-State: AFqh2kqazjVciAX4YJPGhvJ1bMpcSj9Zk0A9V5xCBUMwWDNOAvhXspnG UxzV1a+b9AK93oC4GW9ED78OYZGxJ1Y8hdPotwjedEBfPsV3kdD7HQTbo3lLwClovyXubj0KMQz gwM1lzeVuRmh9N1TMrx2Dc1NV X-Received: by 2002:a17:906:33cb:b0:86d:7c0e:c816 with SMTP id w11-20020a17090633cb00b0086d7c0ec816mr33167273eja.27.1674480582347; Mon, 23 Jan 2023 05:29:42 -0800 (PST) X-Google-Smtp-Source: AMrXdXvQAdUw2Rn+69YtZqpO6gSp02Et/yW29uGOMPmu897BKApMNZGbb85mwbFmpcXO0uyHAAv/bA== X-Received: by 2002:a17:906:33cb:b0:86d:7c0e:c816 with SMTP id w11-20020a17090633cb00b0086d7c0ec816mr33167258eja.27.1674480582140; Mon, 23 Jan 2023 05:29:42 -0800 (PST) Received: from [10.40.98.142] ([78.108.130.194]) by smtp.gmail.com with ESMTPSA id sy23-20020a1709076f1700b0086f5bf2b3a1sm12227191ejc.21.2023.01.23.05.29.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 23 Jan 2023 05:29:41 -0800 (PST) Message-ID: Date: Mon, 23 Jan 2023 14:29:40 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH] platform/x86: dell-wmi: Add a keymap for KEY_MUTE in type 0x0010 table Content-Language: en-US To: Koba Ko , Mark Gross , platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230117123436.200440-1-koba.ko@canonical.com> From: Hans de Goede In-Reply-To: <20230117123436.200440-1-koba.ko@canonical.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 1/17/23 13:34, Koba Ko wrote: > Some platforms send the speaker-mute key from EC. dell-wmi can't > recognize it. > > Add a new keymap for KEY_MUTE in type 0x0010 table. > > Signed-off-by: Koba Ko Thank you for your patch, I've applied this patch to my review-hans branch: https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans Note it will show up in my review-hans branch once I've pushed my local branch there, which might take a while. Once I've run some tests on this branch the patches there will be added to the platform-drivers-x86/for-next branch and eventually will be included in the pdx86 pull-request to Linus for the next merge-window. Regards, Hans > --- > drivers/platform/x86/dell/dell-wmi-base.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/platform/x86/dell/dell-wmi-base.c b/drivers/platform/x86/dell/dell-wmi-base.c > index 0a259a27459f6..502783a7adb11 100644 > --- a/drivers/platform/x86/dell/dell-wmi-base.c > +++ b/drivers/platform/x86/dell/dell-wmi-base.c > @@ -261,6 +261,9 @@ static const struct key_entry dell_wmi_keymap_type_0010[] = { > { KE_KEY, 0x57, { KEY_BRIGHTNESSDOWN } }, > { KE_KEY, 0x58, { KEY_BRIGHTNESSUP } }, > > + /*Speaker Mute*/ > + { KE_KEY, 0x109, { KEY_MUTE} }, > + > /* Mic mute */ > { KE_KEY, 0x150, { KEY_MICMUTE } }, >