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 X-Spam-Level: X-Spam-Status: No, score=-6.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DDB6CC4320A for ; Fri, 6 Aug 2021 12:03:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BF74061163 for ; Fri, 6 Aug 2021 12:03:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343523AbhHFMDT (ORCPT ); Fri, 6 Aug 2021 08:03:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:36854 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243577AbhHFMDT (ORCPT ); Fri, 6 Aug 2021 08:03:19 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 67625610C7; Fri, 6 Aug 2021 12:03:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1628251383; bh=qDve5wMNtV6JzjL+UP7+g7BUSr+dzrdBtJfd+LudumI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=R+tHkmAMK0EK60kJUXRsUOsjHyTD6Y1Ws+zchrMLGB2XYZ+LPu+IUaSXf/r7EsbXV IbHX4ijpoV/5J0DXEta/1uCBRuCt1glOzXADgiaQTksaDI870uL2ZP7s0zOWqy25zB 3RthcSaN39Mhv3GT4IOiyoeaP6Ext+bSFK0PK6sDhrRBdNN9ft1Ftl1tNl6AIF2wPL lDsxIEsTbrcsxZoP08vMQXj4KRv5VnLRFUsfJxZM1xdWotvKJCh0OPz+08udMgCTe2 ecc2ycGtCHNWA3k4Trxf/GDPQfC8bsCuz2Et1sWSD4QnFqIJIGPV+2gLajeTXqRKgN VCshoBVevr1fQ== Date: Fri, 6 Aug 2021 17:32:59 +0530 From: Vinod Koul To: Tony Lindgren Cc: Kishon Vijay Abraham I , linux-phy@lists.infradead.org, linux-usb@vger.kernel.org, linux-omap@vger.kernel.org, Andreas Kemnade Subject: Re: [PATCH] phy: phy-twl4030-usb: Disable PHY for suspend Message-ID: References: <20210727104512.52968-1-tony@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210727104512.52968-1-tony@atomide.com> Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org On 27-07-21, 13:45, Tony Lindgren wrote: > Since commit 88d26136a256 ("PM: Prevent runtime suspend during system > resume"), PM runtime will not let devices idle during system suspend. > > This is because of the pm_runtime_get_noresume() call done in > device_prepare() that is not released until at device_complete() after > resume. > > We must now disable the USB PHY in suspend if no USB cable is connected. Applied, thanks -- ~Vinod