Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1898119pxb; Mon, 18 Jan 2021 02:56:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJwaDFtXo0i8eKsW2znDRUiZhT0GNUKOpvKXDwQUIeqstlvMkIggFw6IfqDLBjqGGaKZGHYG X-Received: by 2002:aa7:ca55:: with SMTP id j21mr18383701edt.172.1610967368316; Mon, 18 Jan 2021 02:56:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610967368; cv=none; d=google.com; s=arc-20160816; b=JDjAYN/edYd7/pxww67xNU3pwQhZC4j8ur/YYpIttsm3Mk1/14ODVbHu7RMiXlarfY qHOMeuZiExD7D4mqcUi1h7ZRJ1IKMjrTzwyo4Q/66zUK68GRLgpUo3FH4Y7y56YME/rb QdbLTN+qU6VlqCEL9jW4UVyiYRe++UiVIKX/NN5pma2FpsaQmlqyhTEwcmjf5iSWoR5N IPrSVFJrSJymeJvZLagyJDl6sNywk0uu2E+io3h8E6j9PtAchurU/Bu/oDMU0kljjUDg uwPmSkDOoa0GDe/yjfFSXanMq6+UitvViwgX368MyHaDqxwqjh7Lc9rr1+69WX2PyKfq Ddeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=DcioXB/UdMlsYBZivaxmZD1my4PTiLM/bF+IXbZJzro=; b=IoPlw5JSFWIf/6Fn3e3Y0neDbdIEDUyAf7Tnk7M6P1cZrl7s7DWMay3lJJBl6NXu2y yBGt5c7VNBqqqopLLzkMFQTZmC7fjsRBH46LXe0/fDqUuwKTDdTAG3Q3+NQh8zPvSwT4 v89ooNgshzIZVS45qzm+FjwS3+kTjIDuWnV9zsdoieKpciyvjdR/XO0j7A/pAst7qoUt Wlr3UlLehmcq2gUhLCX43f89JlgopRlto5KGRdHOqiTIVoDhIu0LSCQk7wNiLZkjA4pp 4wbLGdQc5tZe+3pY/PY5CXbvSIsB2vCBRkbKjmGJFZEZN3BY3xhIZJ01N0aZWL6hZ5kz wZoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=N1XNSgvk; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k9si7018857eje.254.2021.01.18.02.55.45; Mon, 18 Jan 2021 02:56:08 -0800 (PST) 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=pass header.i=@redhat.com header.s=mimecast20190719 header.b=N1XNSgvk; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389574AbhARKwK (ORCPT + 99 others); Mon, 18 Jan 2021 05:52:10 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:27892 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389857AbhARK3p (ORCPT ); Mon, 18 Jan 2021 05:29:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1610965695; 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=DcioXB/UdMlsYBZivaxmZD1my4PTiLM/bF+IXbZJzro=; b=N1XNSgvkV0QSicFKjl4ecPCq1eJYfzEQcnf0OJvdKqiphSWVvZ88kUQWy0u9jPjiRmSFWZ YpXRGTxmLkolT7bfW7c9UUUEv1lktWk1bDFqXI3pJF/MKWOBm+hq7OeV96KTy2dUBGicWk dqeCdZP3+NbeFACRDDwSd4aDewck3ls= Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-375-hLdX5rbUNLG_v22qFF_w9Q-1; Mon, 18 Jan 2021 05:28:12 -0500 X-MC-Unique: hLdX5rbUNLG_v22qFF_w9Q-1 Received: by mail-ej1-f71.google.com with SMTP id h4so5086943eja.12 for ; Mon, 18 Jan 2021 02:28:12 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=DcioXB/UdMlsYBZivaxmZD1my4PTiLM/bF+IXbZJzro=; b=kfpbgI0/9atp1AV+ytNyIDWS9j6L5k9VaSewAO6tLjvZsaRFACU8vamFrA0ELWDl/5 0oJj/PXeGBATCrRCYcGeH8byOSFkfX3A+JZX9qzf6D63Gy/XjhNJEzWFFuqe7SjASjT7 LaGpJ6lqegSI3Ryk0O0UV1BvbU7fBG4kboi+cG/N3jBwWbSFFsuvDnPxPsUv5IVL+FHm Me+vpr6HJAF5+yUQfPUxbgnPvRtlUqzINmPYQS+M/FAJrxOApWVhtY4CgV68WjXGp7uf eJI5EYtAm+6xw6xBw/toTaUGAVG7RJHG2ZotrdL1XGO6y+TlUwtoSREWgaK7TfosCEci aBBA== X-Gm-Message-State: AOAM530ZovDtxH6doOz6Hr6jXUAu3zzNGBprre3enlfMq+bYTcXrDSI9 m+kJhXpE9hA4xmOdFiIr/KrafS7iry09T8SY+DD+VWeCFAT+ScA3qtSUec0Lcmt0/rTpefPe3R/ 2RXkgWSAQ8uUQHE4N/EVEiAqK X-Received: by 2002:a05:6402:30ac:: with SMTP id df12mr19641486edb.175.1610965691360; Mon, 18 Jan 2021 02:28:11 -0800 (PST) X-Received: by 2002:a05:6402:30ac:: with SMTP id df12mr19641475edb.175.1610965691206; Mon, 18 Jan 2021 02:28:11 -0800 (PST) Received: from x1.localdomain (2001-1c00-0c1e-bf00-37a3-353b-be90-1238.cable.dynamic.v6.ziggo.nl. [2001:1c00:c1e:bf00:37a3:353b:be90:1238]) by smtp.gmail.com with ESMTPSA id q9sm5667939ejd.113.2021.01.18.02.28.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 18 Jan 2021 02:28:10 -0800 (PST) Subject: Re: [PATCH v2 00/12] MFD/extcon/ASoC: Rework arizona codec jack-detect support To: Lee Jones Cc: Cezary Rojewski , Pierre-Louis Bossart , Liam Girdwood , Jie Yang , Mark Brown , patches@opensource.cirrus.com, linux-kernel@vger.kernel.org, Andy Shevchenko , Charles Keepax , alsa-devel@alsa-project.org References: <20210117160555.78376-1-hdegoede@redhat.com> <20210118095509.GA4903@dell> From: Hans de Goede Message-ID: <8905f9f2-1c1c-1b64-d70d-374f84568ccb@redhat.com> Date: Mon, 18 Jan 2021 11:28:09 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: <20210118095509.GA4903@dell> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 1/18/21 10:55 AM, Lee Jones wrote: > On Sun, 17 Jan 2021, Hans de Goede wrote: > >> Hi All, >> >> This series reworks the arizona codec jack-detect support to use >> the snd_soc_jack helpers instead of direct extcon reporting. >> >> This is done by reworking the extcon driver into an arizona-jackdet >> library and then modifying the codec drivers to use that directly, >> replacing the old separate extcon child-devices and extcon-driver. >> >> This brings the arizona-codec jack-detect handling inline with how >> all other ASoC codec driver do this. >> >> This was developed and tested on a Lenovo Yoga Tablet 1051L with >> a WM5102 codec. >> >> The MFD, ASoC and extcon parts can be merged independent from each-other >> although that could lead to a case where both the extcon driver and >> the new arizona-jackdet library will try to do jack-detection. If we >> end up with a git tree in that state then one of the 2 will fail to >> load because the other will already have claimed the IRQs, so this >> is not a problem really. >> >> Or the entire series could be merged through the MFD tree if people >> prefer that. >> >> Note that this series also paves the way for some further cleanups, >> removing some jackdetect related variables like hp_ena and hp_clamp >> from the arizona data struct shared between all the MFD child devices. >> I've deliberately not done that cleanup as part of this patch-series, >> since IMHO the series is big enough as is. These cleanups can be done >> in a follow-up series once this series has landed. > > Would you mind using `git format-patch` to create your cover-letters > in the future please? This one is missing useful information such as > the diff-stat and patch list. I never heard about that git feature until today, so I learn something new every day :) I just tested it and it seems useful. I will try to use it next time. Regards, Hans