Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1003315pxb; Wed, 6 Apr 2022 06:29:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxKTGsmyG0ATkimsg63UZ1Cq1dUsIHncOCYjAjl/uSzs42WgGXFJbHiJjC39Fy6gZfMrClC X-Received: by 2002:a63:ae48:0:b0:386:2e2a:c16a with SMTP id e8-20020a63ae48000000b003862e2ac16amr7126865pgp.59.1649251784526; Wed, 06 Apr 2022 06:29:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649251784; cv=none; d=google.com; s=arc-20160816; b=usYYzIQSLbkfmcT+4j1AZYifjnwOSH4Z9E+zZIoJ7kwkE4arCAdNkQhkGEbN1rVFZR sL7ibtQXPOIWsBdn98hLHuQrSIdGbIjTgWnYxdu72Aat2RzWf6HSTvP4dBygGQj0xgXn NalvY3kswXW8SxFMmVbLcPygmQMAFuKsmuMV5ZALJjMlgMm15CHisQ142ETUn/uw2I0W QOC+Yu9reu/R+c1vSVNBLHsoU4i4Vjlb9ii2VZvxwYRqgCRlJIBtenQrvN5rCNy58QFW 7BwPZ20uavdrPgwzk0hO+bvEb5Y9nuyNfaI9GUV2cg40snh8VbUyUpiBB5EXuIwyJuKn OZcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=cfhShkJ9GGB5NMk/Kf+P1wbpLhxJJWK4mdwN+7tkv6Q=; b=FqMybKRRxy7PKsgUlXwn7rmeIr1QQavj5Z2VHQMNbJi5Bsynr/DlGGVQyDXSQS+449 Es3UBIG5yfs8kWERrfsjq3Uhy48BYsh0smUih25U49SGU+q4FWBCyS+XDXwmCwtPLUg+ 4OFvizXiOG3kdXIpwHz4cVDSi9no3OSCb509QzdJfsJLq8J1tF3S4sSPbiAGkuKr3Ua4 6XGJFQj1FTGVt+yG51uYYtE8BRbit0p+VKL85JcF498uMwV8vx1Wqnfb9SUiTRgJ2dG5 ZufKVXQzJYL9reO2Q753rEcJMamjHP9xewxNi1bh7jMTvJuiER6PFqmUpGtBHY4nBTNn N2Sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=MhuXQfR9; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id cn17-20020a17090af09100b001c780f95fe1si4527304pjb.81.2022.04.06.06.29.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 06:29:44 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=MhuXQfR9; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 38C7E5CB223; Wed, 6 Apr 2022 04:09:20 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242124AbiDEWGW (ORCPT + 99 others); Tue, 5 Apr 2022 18:06:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1443488AbiDEPjm (ORCPT ); Tue, 5 Apr 2022 11:39:42 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8F57814CD06 for ; Tue, 5 Apr 2022 06:56:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1649166984; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cfhShkJ9GGB5NMk/Kf+P1wbpLhxJJWK4mdwN+7tkv6Q=; b=MhuXQfR9l26DRkaHKeIvxbMEoCJ0S16iWjCL/7+FQ5+bakMoUipP6CeI5NJDU15HvZ+c6U tRV0hLuPwDme5fb1/yfiwDjHxjBeTgk477iAOG8mrm6uan88Wnl4rGrbyO2J/tvFB+mvsb OhkdAq8VtS+t83J8bB9h/V7lXxWDoQ4= Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-518-kuWlvZZdPZ-geokm6EsfCw-1; Tue, 05 Apr 2022 09:56:23 -0400 X-MC-Unique: kuWlvZZdPZ-geokm6EsfCw-1 Received: by mail-ej1-f72.google.com with SMTP id 13-20020a170906328d00b006982d0888a4so6379885ejw.9 for ; Tue, 05 Apr 2022 06:56:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=cfhShkJ9GGB5NMk/Kf+P1wbpLhxJJWK4mdwN+7tkv6Q=; b=YK1YUSfzN+FmFQwAfmzPtRXQlohqSl+ao+ETXf4dwN6S56Sost4y5iZEALxKHvyaGN UFij8+PrANl5mvupjKawOWouZN1FVNcb/DXmSXp6uL/uCM1ZDRAe+dCIX2/Fjpc6X+VU 02XJQSg5G4N9uLHYzYodlx57vffnd88jn8MPy0HAXOx/FLrkgEDG4peV+3wX8CxtvdUn gQranxRn1VGpec6ezC9kMSKIlRm/RwbHA4jLFACQNGP7/f3PYpWO9jXGGRh1dx77HooQ Gg43Rkse1s5aja6OchoFrli2UwUvUjxnES1xEaUY7iMuRkDF3clGg0pdIWxt2kCHzt1B e2HQ== X-Gm-Message-State: AOAM530Jcmc1el1CbXDy64wxo3ZBZunGgLswPniQ1oatxOOPGcnK+4Av w1BB+I4SsmPj+cjWcWgCLUDgY9adJlD+CafsMwmDrLEy/HEWXIpvmJv4X5SJn+pt8TwjU6u480e N8qb5ZECS/6fx5Q/z7wfP+ngX X-Received: by 2002:a17:907:3f92:b0:6e7:2ad3:a92b with SMTP id hr18-20020a1709073f9200b006e72ad3a92bmr3830791ejc.239.1649166982509; Tue, 05 Apr 2022 06:56:22 -0700 (PDT) X-Received: by 2002:a17:907:3f92:b0:6e7:2ad3:a92b with SMTP id hr18-20020a1709073f9200b006e72ad3a92bmr3830772ejc.239.1649166982285; Tue, 05 Apr 2022 06:56:22 -0700 (PDT) Received: from ?IPV6:2001:1c00:c1e:bf00:1db8:22d3:1bc9:8ca1? (2001-1c00-0c1e-bf00-1db8-22d3-1bc9-8ca1.cable.dynamic.v6.ziggo.nl. [2001:1c00:c1e:bf00:1db8:22d3:1bc9:8ca1]) by smtp.gmail.com with ESMTPSA id s4-20020a170906a18400b006db0a78bde8sm5576897ejy.87.2022.04.05.06.56.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 05 Apr 2022 06:56:21 -0700 (PDT) Message-ID: <6b61410d-ce1e-e84c-4a4e-aa3b22f3dc89@redhat.com> Date: Tue, 5 Apr 2022 15:56:21 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH v2 0/2] Make headphone work on Huawei Matebook D15 Content-Language: en-US To: Mauro Carvalho Chehab Cc: Pierre-Louis Bossart , =?UTF-8?Q?P=c3=a9ter_Ujfalusi?= , Bard Liao , Cezary Rojewski , Jaroslav Kysela , Jie Yang , Liam Girdwood , Mark Brown , Takashi Iwai , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org References: <168fe6c3-6a7d-4019-16e3-066caf394b8a@redhat.com> <20220405154816.5cfdc49c@coco.lan> From: Hans de Goede In-Reply-To: <20220405154816.5cfdc49c@coco.lan> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 4/5/22 15:48, Mauro Carvalho Chehab wrote: > Em Tue, 5 Apr 2022 11:00:44 +0200 > Hans de Goede escreveu: > >> Hi, >> >> On 4/5/22 10:44, Mauro Carvalho Chehab wrote: >>> At Huawei Matebook D15 two different GPIOs are used to control the output: >>> - gpio0 controls the speaker output; >>> - gpio1 controls the headphone output. >>> >>> Changing both at the same time cause spurious events that are mis-interpreted >>> as input events, causing troubles on apps. So, a delay is needed before turning >>> on such gpios. >>> >>> With this patch, plugging a headphone causes a jack event to trigger the speaker >>> supply, powering down the speaker and powering up the headphone output. >>> Removing the headphone also triggers the power supply, powering up the speaker >>> and powering down the headphone. >>> >>> Mauro Carvalho Chehab (2): >>> ASoC: Intel: sof_es8336: support a separate gpio to control headphone >>> ASoC: Intel: sof_es8336: Huawei Matebook D15 uses a headphone gpio >> >> There is something weird with the patches here, at least for me in Thunderbird >> both patches show up as nameless attachments to emails with empty bodies. > > Weird... I tested here on Thunderbird (Fedora 35), reading it from the ML > and they opened ok here. Yes I checked lore.kernel.org and they look fine there, so as you said: weird. > There *is* an issue on such patches though: they ended using my past > e-mail :-) > > I'll re-send those with your ack using the right SoB/From > mchehab@kernel.org. And in the resend they look fine in my Thunderbird too. Regards, Hans