Message ID | 20200115132547.364-6-b-liu@ti.com (mailing list archive) |
---|---|
State | Mainlined |
Commit | ce3ab6503ebaba976405858616d7f6094e364973 |
Headers | show
Return-Path: <SRS0=3jNv=3E=vger.kernel.org=linux-usb-owner@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1CB2614B4 for <patchwork-linux-usb@patchwork.kernel.org>; Wed, 15 Jan 2020 13:26:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EF1C12077B for <patchwork-linux-usb@patchwork.kernel.org>; Wed, 15 Jan 2020 13:26:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="EWBcM5Ha" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729094AbgAON0E (ORCPT <rfc822;patchwork-linux-usb@patchwork.kernel.org>); Wed, 15 Jan 2020 08:26:04 -0500 Received: from lelv0143.ext.ti.com ([198.47.23.248]:38446 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728931AbgAONZu (ORCPT <rfc822;linux-usb@vger.kernel.org>); Wed, 15 Jan 2020 08:25:50 -0500 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 00FDPnew118443; Wed, 15 Jan 2020 07:25:49 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1579094749; bh=YB/gBaYDxUNt0oGYdHvGQbjKZyQsMqcYYPkBVWaMllI=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=EWBcM5HamFlGy6culUS9xSbrkc/bFeNySnNVVDxwbPx0IotRmuuVlUL2PSdvD5/J8 rQSzXqyACYemtbgxq+A02Q5SDhP/oYLG4jRkJXxry6JNDTrM9uBQzZDG7mhmgSvgSb Gs9PpAMUGe2CCtvJsR7Dwo3zkT+CS+LW4mztghiA= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 00FDPnvI110419 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 15 Jan 2020 07:25:49 -0600 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Wed, 15 Jan 2020 07:25:49 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE100.ent.ti.com (157.170.170.30) 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; Wed, 15 Jan 2020 07:25:48 -0600 Received: from uda0271908.dal.design.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 00FDPm33066537; Wed, 15 Jan 2020 07:25:48 -0600 From: Bin Liu <b-liu@ti.com> To: Greg Kroah-Hartman <gregkh@linuxfoundation.org> CC: <linux-usb@vger.kernel.org>, Bin Liu <b-liu@ti.com> Subject: [PATCH 05/25] usb: musb: omap2430: Wait on enable to avoid babble Date: Wed, 15 Jan 2020 07:25:27 -0600 Message-ID: <20200115132547.364-6-b-liu@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200115132547.364-1-b-liu@ti.com> References: <20200115132547.364-1-b-liu@ti.com> MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: <linux-usb.vger.kernel.org> X-Mailing-List: linux-usb@vger.kernel.org |
Series |
musb patches for v5.6-rc1
|
expand
|
diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap2430.c index 5c93226e0e20..920862c3fc64 100644 --- a/drivers/usb/musb/omap2430.c +++ b/drivers/usb/musb/omap2430.c @@ -550,6 +550,9 @@ static int omap2430_runtime_resume(struct device *dev) musb_writel(musb->mregs, OTG_INTERFSEL, musb->context.otg_interfsel); + /* Wait for musb to get oriented. Otherwise we can get babble */ + usleep_range(200000, 250000); + return 0; }