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 9038BC7EE24 for ; Fri, 12 May 2023 09:10:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240307AbjELJKa (ORCPT ); Fri, 12 May 2023 05:10:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240416AbjELJK3 (ORCPT ); Fri, 12 May 2023 05:10:29 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6607D11602; Fri, 12 May 2023 02:10:28 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id EB55865422; Fri, 12 May 2023 09:10:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 252CBC433AC; Fri, 12 May 2023 09:10:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683882627; bh=kUiWU6lZcVcCsvBfK0GM03OeHi8GVKMv4D/U9jZXzF8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UdaUzy4bLYXxpoevkE7hgsxmdHDrXE0lz6npy1lCRiSVzZ5p3FZfrKoBYb4gBSg5s qTtNH6dC6+GHQERSnAZ/ArJeX1y3Qw3vZI42MUKvTDkH7XZg6g6x7NrhaPKS0mUFZm WnPZWF7m9co+oPCq0fcTXKQcBHp1wJxAlp1bZhEhgSVVhJK/cWyfNXV+cSAP+xsDCI X5kKY/C2UEmDBInVTBgAv8WoElXXahZYa8KQ4K6cxXINglTj9jA78X7/3KufQtpvAD +UCtzT14GdXJ6Ohk1f4ReTbL4px1jVLnud/wCXPBTt7cmBj0nNf4B6GOy6Yx96PWKC uQ+MHkOMJfxpw== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1pxOne-0002j6-JQ; Fri, 12 May 2023 11:10:54 +0200 Date: Fri, 12 May 2023 11:10:54 +0200 From: Johan Hovold To: Bjorn Andersson Cc: Vinod Koul , Kishon Vijay Abraham I , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 3/8] phy: qcom-qmp-combo: Extend phy_mutex to all phy_ops Message-ID: References: <20230510031930.1996020-1-quic_bjorande@quicinc.com> <20230510031930.1996020-4-quic_bjorande@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230510031930.1996020-4-quic_bjorande@quicinc.com> Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On Tue, May 09, 2023 at 08:19:25PM -0700, Bjorn Andersson wrote: > The phy core ensures mutual exclusion across the ops for a given phy, > but the upcoming introduction of USB Type-C orientation switching might > race with the DisplayPort phy operations. So extend the mutual exclusion > to cover the remaining ops as well, to avoid concurrent reconfiguration > of the hardware. > > Reported-by: Johan Hovold > Signed-off-by: Bjorn Andersson Reviewed-by: Johan Hovold Johan