From patchwork Thu Nov 15 06:56:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thinh Nguyen X-Patchwork-Id: 10683625 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 83DB214DB for ; Thu, 15 Nov 2018 06:56:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 73CF72C130 for ; Thu, 15 Nov 2018 06:56:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6856F2C230; Thu, 15 Nov 2018 06:56:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E419A2C20E for ; Thu, 15 Nov 2018 06:56:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728388AbeKORDR (ORCPT ); Thu, 15 Nov 2018 12:03:17 -0500 Received: from us01smtprelay-2.synopsys.com ([198.182.60.111]:49816 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726960AbeKORDR (ORCPT ); Thu, 15 Nov 2018 12:03:17 -0500 Received: from mailhost.synopsys.com (mailhost3.synopsys.com [10.12.238.238]) by smtprelay.synopsys.com (Postfix) with ESMTP id 78BFF10C0876; Wed, 14 Nov 2018 22:56:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1542265003; bh=dCJmwmUE9AiZiJsIvbNoiRZnR0PeDCoX3oAOHvTO6Qo=; h=Date:From:Subject:To:CC:From; b=Kq9wQZx+J7HtMUSCaIC4SQyRrc5YTAV1Tum82sUg1i4iSpK/Ft4TDtNz3nmnxlxFk BApF0B25brJuh/lnjPbPXAxh9NAdY31ldmfnckRbwxJIPi6e5dTu1AhbTxdY6efuFa kz/sNKdfGPx0DuHVKmDAUpvVg2CtcawPvzWgLADRKHv1tdEhXdYUUrarjYOMs450Qf bbPdVi8ScdLjo82nu/Oy0C+lv5kUi6WuFLdtrDgXYHYKJe94stjCFHOzgN33dz6Z0B +oUI8s5a/ZO2MaMt8S6dXD7uFSLU5HXhKHdsn98ZxQcJmkbZZ7jTsXAyMjkYn0hPMx 2YvDBaF+iQM6A== Received: from us01wehtc1.internal.synopsys.com (us01wehtc1-vip.internal.synopsys.com [10.12.239.236]) by mailhost.synopsys.com (Postfix) with ESMTP id 5DBAD3833; Wed, 14 Nov 2018 22:56:43 -0800 (PST) Received: from US01WEHTC2.internal.synopsys.com (10.12.239.238) by us01wehtc1.internal.synopsys.com (10.12.239.231) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 14 Nov 2018 22:56:43 -0800 Received: from te-lab16 (10.13.184.20) by US01WEHTC2.internal.synopsys.com (10.12.239.238) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 14 Nov 2018 22:56:42 -0800 Received: by te-lab16 (sSMTP sendmail emulation); Wed, 14 Nov 2018 22:56:41 -0800 Date: Wed, 14 Nov 2018 22:56:41 -0800 Message-ID: From: Thinh Nguyen Subject: [PATCH v7 0/2] usb: dwc3: Workaround isoc start_transfer failure To: Felipe Balbi , , , Rob Herring , Mark Rutland CC: John Youn MIME-Version: 1.0 X-Originating-IP: [10.13.184.20] Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP DWC_usb31 peripheral v1.70a-ea06 and prior needs a SW workaround for isoc START TRANSFER command failure. This patch series implements that workaround Change in v7: - Rebased on Felipe's branch Change in v6: - Defined more version types in "usb: dwc3: Track DWC_usb31 VERSIONTYPE" - Minor cleanup/fix in "usb: dwc3: Add workaround for isoc start transfer failure" Change in v5: - Splitted and resent from an old patch series - Cleanup and fixed review issues Change in v4: - None Change in v3: - None Change in v2: - None Thinh Nguyen (2): usb: dwc3: Add disabling of start_transfer failure quirk usb: dwc3: Add workaround for isoc start transfer failure Documentation/devicetree/bindings/usb/dwc3.txt | 3 + drivers/usb/dwc3/core.c | 2 + drivers/usb/dwc3/core.h | 13 +++ drivers/usb/dwc3/gadget.c | 131 +++++++++++++++++++++++++ 4 files changed, 149 insertions(+)