Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2800581rwd; Wed, 14 Jun 2023 07:30:47 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ52dCHh7VJgU0DOA2M0C4pWmfov66ZAHj7wKoA+VdqhZHyaLvzCsF/8DT18PYo3zpIt6wP4 X-Received: by 2002:a17:907:3e84:b0:96f:a412:8b03 with SMTP id hs4-20020a1709073e8400b0096fa4128b03mr2129265ejc.5.1686753046905; Wed, 14 Jun 2023 07:30:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686753046; cv=none; d=google.com; s=arc-20160816; b=erTK4mlpHDprZbvZlOEUNyAp7zNyiKgfA0J16vhi3Vp4qd82pNbpqegJu3qsUY63dr nm9r9WRnfsfU/qCCP/+4117c2WTXzaxGJP2QVICiDFHlwvGG7lv8VUJWrCZOzGnKQElA 6PE5p0oxTfd2ZOH6vcp5PmS3yrR528ZZtnEEPLqt7MJRUnDuyyQ7J9sEIbm2ou5XA2Vf yjdAaUK6UJvcKQRihUdq+jGwkwJtDIZbDmCJzFNYz350GO4x4XGVDOrW7saHFH2Wlxwl zSAMqLZYUmKohXUtec/z3i1cMqQ4FHzegpyRxd6r1AAGkuIvhOq1N5VIOAOM3nXo68aH fjjg== 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=Mh3rTE8xbH3GEFFRDIFqlk1x7uwXyL+WDonR/+P6664=; b=Se4kx8QnxKLMwcktUADnB8EP8b72Ram0HGqxdhpZVG89fpC+fFkr1xpu0SZWjIEZAZ KbhELrHW1u3Ae2onZ/N/40VHYzNjhisAyal54a7ZrvMstAjdRF5ShazIh8xPrcp0yMIh PBUMzTd9b9czwZy77KFBaiNkcK1qBCsNNoIVZ6heinx+YAkp19eIADjUBrMYjuG0QTb9 Bpyhu3JEX9Ceycva9jz6EnZXCfipRO4MFPq5mPJWFBJNY6DmKc7Y8mjKO8qxPMmW2rov eiLo6U1285FrBs1Av4u1W3Ow3608r5P3HdbtbKB7j5kaQ9/aQAfjcK4zKjCDlGpG7kLd rN2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="p/Y1/dGu"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e21-20020a170906045500b0097381a4b1f2si7858614eja.922.2023.06.14.07.29.42; Wed, 14 Jun 2023 07:30:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="p/Y1/dGu"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244908AbjFNNMX (ORCPT + 99 others); Wed, 14 Jun 2023 09:12:23 -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-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 X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 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