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=-2.4 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 85355C43603 for ; Thu, 12 Dec 2019 17:22:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5BAFD21655 for ; Thu, 12 Dec 2019 17:22:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="eS/8LXYf" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730115AbfLLRWn (ORCPT ); Thu, 12 Dec 2019 12:22:43 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:34618 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730088AbfLLRWn (ORCPT ); Thu, 12 Dec 2019 12:22:43 -0500 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id xBCHMXIK028310; Thu, 12 Dec 2019 11:22:33 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1576171353; bh=QGCM1IVHZ0ASpgVGFJSeS05MP+Yz/9LnTm5rnylqCN4=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=eS/8LXYf5U412lfFvwNZ4xnyxQafP0FsBoT95vlDgpv3VqR3rrDaRIWHl5E8W8Z9p 879JNF/NsZBdm7vg3B4hluT7TNCVbBcMAE8B2SM9p22fsIbhgGa8qOEVqs+ROitcFB Shm41jjFtf8F8tP6vi+oUHCuruzT8RdJjnJPD3aY= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id xBCHMX3g123443 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 12 Dec 2019 11:22:33 -0600 Received: from DFLE114.ent.ti.com (10.64.6.35) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Thu, 12 Dec 2019 11:22:33 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Thu, 12 Dec 2019 11:22:33 -0600 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id xBCHMXBr039533; Thu, 12 Dec 2019 11:22:33 -0600 Date: Thu, 12 Dec 2019 11:21:57 -0600 From: Bin Liu To: Tony Lindgren CC: Sergei Shtylyov , Greg Kroah-Hartman , , , Merlijn Wajer , Pavel Machek , Sebastian Reichel Subject: Re: [PATCH] usb: musb: fix idling for suspend after disconnect interrupt Message-ID: <20191212172157.GJ16429@iaqt7> Mail-Followup-To: Bin Liu , Tony Lindgren , Sergei Shtylyov , Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-omap@vger.kernel.org, Merlijn Wajer , Pavel Machek , Sebastian Reichel References: <20191126034151.38154-1-tony@atomide.com> <5ae7f3aa-3992-a810-f5d4-0b5bb8fa6356@cogentembedded.com> <20191126174515.GZ35479@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20191126174515.GZ35479@atomide.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org On Tue, Nov 26, 2019 at 09:45:15AM -0800, Tony Lindgren wrote: > * Sergei Shtylyov [191126 10:21]: > > Hello! > > > > On 26.11.2019 6:41, Tony Lindgren wrote: > > > > > When disconnected as USB B-device, we sometimes get a suspend interrupt > > > after disconnect interrupt. In that case we have devctl set to 99 with > > > VBUS still valid and musb_pm_runtime_check_session() wrongly things we > > > > Thinks? > > Thanks will fix. Is this the only update needed? I can fix it locally when queuing the patch. -Bin.