Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9178563pxu; Mon, 28 Dec 2020 08:31:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJz1UxoASkVCEXhM8dfkHLVmhKNaCvXy7eyQRadUX5VPyw2QzIxuAz+dE70xJREM6UvAPkrU X-Received: by 2002:a05:6402:1d3b:: with SMTP id dh27mr43571998edb.238.1609173115268; Mon, 28 Dec 2020 08:31:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609173115; cv=none; d=google.com; s=arc-20160816; b=AMOAw/6yRcViGxd2edY9TB76LRWpvDJpfJm6NC1wbfAg+Cj6vXXLbcifnG71arcOcG S6o15WhQPwZA+tfIjqwOZBNJWk4NXgWnLx/lxZcCpsTMDonN9PM1TqhsgPZ7d99LStkC 855voH73raC+mEehfyn0k/Lia8OxvTuaJ5RYS/8mqRtjEx7A0sJL9vNNuwifRq6NpKXw faCRowyGQqlMHQGJijNM2K0W0/qNvSqCTfZMyDVfwjxK1+tAwPL98BHzyS0URGpGJQ1+ Q+ODUEhgxawsL1tS26Olb9KNiHT2Bht01GrIMtVKbv89kRg4wDv5lnfTGzu2iIj+Am/f fuFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=vW8uzhVdfyZFKlNcluOqkr7jzUZnLijWyTTae0Lwf/g=; b=vELzCz3geXkcsyXxTLcGMpI1CoIPjkP6XSPFBsCMf7r1uIzjPyxOQTu7egr//eSzQ2 C+0GIY0qQylwsWt1vFpeaYKEQVVSHnzmVdISFiQ1x9mtcesc0G/mm+ankO/CFqxiMv24 LQkxr1TEWcyMjJk3xCqxPdQ4u8oghF/yJTftjwI6xw6fxGM/0hAs5zCqY6WiFpwC95c1 2o8y2NwrSFdOFQUUrl6wfATReoNq1qBjDZ7L/raIOQa4snfI0EONjnTFnPT8n3q8+8C+ ehmFtMGO6WEo/mNJJnBxPKG2hWTRPQMsoT0WDHjgK9sa4RwP7nUJTCbRfkroyqkQaoZV CMLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BxsD43eS; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n22si13564551ejr.464.2020.12.28.08.31.32; Mon, 28 Dec 2020 08:31:55 -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=@kernel.org header.s=k20201202 header.b=BxsD43eS; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2633595AbgL1Q3L (ORCPT + 99 others); Mon, 28 Dec 2020 11:29:11 -0500 Received: from mail.kernel.org ([198.145.29.99]:37112 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2633593AbgL1Q3J (ORCPT ); Mon, 28 Dec 2020 11:29:09 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 88697221F0; Mon, 28 Dec 2020 16:28:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1609172909; bh=VxLb1NE5v3gUQB+uN9sYmxNLNiDC+v0OejAmpaBY2jU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=BxsD43eSjbT4RSvYseAjen0QXSJvvyGe5XMmO00tHelZvwDBYwKhZGEyE6okn2CLT DSOFVu0whrMHOwy6aV2OnxgULNod+u6ADc/2f23hC1O8gYd8fdUjzGKHo701kmMc6t qL6vUIbLJEqTkAHsFuf/dhQhhIExQpENU+W9aH65+bxoizh2amiGp7doti9aw/TiCt kinZxltZ+xUyXri1L/OOIbPC1xIKm6bTqv6bATeMFyeEPeqRyjn1hwsEXBFxQkBvHk cgmcu4aFoVPo/HyCCCxk4pNTD8ozsUsV2o+FALQaBUNvpNRJgqpfqfQ+R3EF5hT7x0 NqD2cfNioV5EA== Date: Mon, 28 Dec 2020 16:28:07 +0000 From: Mark Brown To: Hans de Goede Cc: Lee Jones , MyungJoo Ham , Chanwoo Choi , Cezary Rojewski , Pierre-Louis Bossart , Liam Girdwood , Jie Yang , patches@opensource.cirrus.com, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Subject: Re: [PATCH 01/14] mfd: arizona: Add jack pointer to struct arizona Message-ID: <20201228162807.GE5352@sirena.org.uk> References: <20201227211232.117801-1-hdegoede@redhat.com> <20201227211232.117801-2-hdegoede@redhat.com> <20201228122138.GA5352@sirena.org.uk> <44f84485-8efc-39f9-d0a7-cb8db2ea3faa@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="9l24NVCWtSuIVIod" Content-Disposition: inline In-Reply-To: <44f84485-8efc-39f9-d0a7-cb8db2ea3faa@redhat.com> X-Cookie: To see you is to sympathize. User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --9l24NVCWtSuIVIod Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Dec 28, 2020 at 02:16:04PM +0100, Hans de Goede wrote: > And more in general AFAIK extcon is sort of deprecated and it is > not advised to use it for new code. I would esp. not expect it to > be used for new jack-detection code since we already have standard > uAPI support for that through sound/core/jack.c . Has Android been fixed to use the ALSA/input layer interfaces? That's why that code is there, long term the goal was to have ALSA generate extcon events too so userspace could fall over to using that. The basic thing at the time was that nobody liked any of the existing interfaces (the input layer thing is a total bodge stemming from it having been easy to hack in a key for GPIO detection and using ALSA controls means having to link against alsa-lib which is an awful faff for system level UI stuff) and there were three separate userspace interfaces used by different software stacks which needed to be joined together, extcon was felt to be a bit more designed and is a superset so that was the direction we were heading in. --9l24NVCWtSuIVIod Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl/qB5YACgkQJNaLcl1U h9DqBwf9HlPB/OmyZntM7voe64geHoxkfPxY7efoEImrcbnYvzdEY/pdORxcLO00 98rT1ezO5jFJHAbH3sO8fz0m/93Yk0z3IDSuLexoQhtP9bK3hDs5u5jWrYlHMOFz 3OFcOctzSUSfOapMPJFQXzxjEiSnNyAdJterGKhHAB+qDkxi29C6iLl7fW7k7ymT lHgKGSNor058sVZbrajgw2J8iG0aXrEvW9Tau4/pAt1TVF6FmQLj0pQXjo7r/9ga gkp6C2bsLSeCx3WSujI/MllT94v48jbPZY1801oxseN7c68+gNF2m2lEmvIr03LS eAdKVMt/V2KU2wSqSn6Z2iWJj7aHvA== =/OaN -----END PGP SIGNATURE----- --9l24NVCWtSuIVIod--