From mboxrd@z Thu Jan 1 00:00:00 1970 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 DE44CEB64D9 for ; Wed, 14 Jun 2023 13:12:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239895AbjFNNMZ (ORCPT ); Wed, 14 Jun 2023 09:12:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244889AbjFNNMT (ORCPT ); Wed, 14 Jun 2023 09:12:19 -0400 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69E7F2102 for ; Wed, 14 Jun 2023 06:12:17 -0700 (PDT) Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-5183101690cso8088564a12.0 for ; Wed, 14 Jun 2023 06:12:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686748336; x=1689340336; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Mh3rTE8xbH3GEFFRDIFqlk1x7uwXyL+WDonR/+P6664=; b=p/Y1/dGuDwnc71Zk5XMEnW62C4zoUokel7VoqfAvUrgMceILVTUOOE2SJZjOsA5SKt PTAwvrKXEXMRxki1WZQGWO3t2pqfD+aPQQjkE2AM0C1ObytK4A87x0pVFxSRHKSt2VtD D3kVbDAbv/676eXRfni7BloWvZRW4l4E4xhj1QsjQlRxe0YznY7F/2cqYnFJ1BsICK0P 3PIRgfAjOmmZ5PdNQbK1fHlABmTOfzs+uIwzBHAIVg1wEdXupMCJ0JZcXg/gmR7IKLe3 gLoXFqQyHEUMVi/BTZaTuar+jUvLGvDGCX7ioRq4/gpUMGcoNzxVjvrTQxThbDi+f8Py J3wQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686748336; x=1689340336; h=content-transfer-encoding:in-reply-to:from:references:cc: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=Mh3rTE8xbH3GEFFRDIFqlk1x7uwXyL+WDonR/+P6664=; b=Rp01GR3Lt0Dio7vmqam1NIOSRIoZF/E12iq6Qie6vTlMWzTsMsK7fFf6cvqewgtL4K aC/vcZABkAgSLhhVV52JXgf2W+mvsDjFVFSUbAgCAzN4OwuckmuuxDnnzSjnlBGngo6W pqZtQ1gCf0aAKTLpDdg5IcJQbJdnYwM2jis+5aR8PYZbkxnd8JRTcLtwp/E2Ghbsklp8 RCXQfrHbh9DLOncrCBD6SrDZKYIkNM8WKhray78VnSODuoKfiZ2Ou0YW2e1/af7I8i0f TJ3wR1TDmJtleHbmJbhPPwRMipbuuclbKuMZP9mzznBAICXqTn7PCdAg9T6h9Btt65oJ ZzSQ== X-Gm-Message-State: AC+VfDyQ/rnPFCl5FYuvpou8LfZOaKyP2ahjoSPhi+ozFHvey9ofgaxG jLibj/Txx1v7IwXMRmmLoWghUg== X-Google-Smtp-Source: ACHHUZ7GvhWfwrjzRXpMDseArxpcMah8+fPBc1JcLep3h15z5uvHSViQdESVuNN9qmKn5qQ9djrLhg== X-Received: by 2002:a05:6402:4409:b0:506:bbf8:5152 with SMTP id y9-20020a056402440900b00506bbf85152mr1714369eda.9.1686748335838; Wed, 14 Jun 2023 06:12:15 -0700 (PDT) Received: from [192.168.1.20] ([178.197.219.26]) by smtp.gmail.com with ESMTPSA id w8-20020aa7cb48000000b0051632dc69absm7685355edt.86.2023.06.14.06.12.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 14 Jun 2023 06:12:15 -0700 (PDT) Message-ID: <5d195f77-88c4-6539-d8dc-2a4ee3945acb@linaro.org> Date: Wed, 14 Jun 2023 15:12:13 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH 2/3] usb: typec: fsa4480: rework mux & switch setup to handle more states Content-Language: en-US To: Neil Armstrong , Heikki Krogerus , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org References: <20230614-topic-sm8550-upstream-type-c-audio-v1-0-15a92565146b@linaro.org> <20230614-topic-sm8550-upstream-type-c-audio-v1-2-15a92565146b@linaro.org> From: Krzysztof Kozlowski In-Reply-To: <20230614-topic-sm8550-upstream-type-c-audio-v1-2-15a92565146b@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 14/06/2023 15:10, Neil Armstrong wrote: > In order to handle the Audio Accessory mode, refactor the mux > and switch setup in a single function. > > The refactor will help add new states and make the process > simpler to understand. > Tested-by: Krzysztof Kozlowski Best regards, Krzysztof