From patchwork Thu Nov 8 20:06: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: 10674957 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 A536C14E2 for ; Thu, 8 Nov 2018 20:06:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 96F29285BE for ; Thu, 8 Nov 2018 20:06:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 89E1C288C9; Thu, 8 Nov 2018 20:06:45 +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 28EBD285BE for ; Thu, 8 Nov 2018 20:06:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726818AbeKIFnp (ORCPT ); Fri, 9 Nov 2018 00:43:45 -0500 Received: from us01smtprelay-2.synopsys.com ([198.182.60.111]:39656 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725882AbeKIFno (ORCPT ); Fri, 9 Nov 2018 00:43:44 -0500 Received: from mailhost.synopsys.com (mailhost2.synopsys.com [10.13.184.66]) by smtprelay.synopsys.com (Postfix) with ESMTP id 4B18E10C0839; Thu, 8 Nov 2018 12:06:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1541707603; bh=cTuTwd1jdfxrjHIqlXWnfneKkRKeE2JviSuv1ODfLqU=; h=Date:From:Subject:To:CC:From; b=HO/G+QihIfrE8J9uR81OEW/uYreSBFyG5PLe93NB6OdD4wmuH+cQvvrNhRs/smCSL HPEIREcuPXJA8Zrgm0OwCo8ff4Gwon24SDhkFg126wMRS84t/g9HZHhMoztWLDMinG xgo7li6bNe3skiGGY0fpvIAgOwY7+7Y3zZUzfGJyOMNQ+SNO4h/8ZX57uWSvk1vGKm WtB0QGAKKZjVUuG26Gfxw1Ao4a1hOkdtVWL9Gcwjadk4q+EPDme0q2ceaacH5PSlLa aoRKnDIYGAax75gTwboYFGQ7dcNW2ai1iuVH6rwRXVVnOAS+cNzcroz6lyM0MwyYHI DZrPssdroLkgw== Received: from US01WXQAHTC1.internal.synopsys.com (us01wxqahtc1.internal.synopsys.com [10.12.238.230]) by mailhost.synopsys.com (Postfix) with ESMTP id 384E84E96; Thu, 8 Nov 2018 12:06:43 -0800 (PST) Received: from US01WEHTC3.internal.synopsys.com (10.15.84.232) by US01WXQAHTC1.internal.synopsys.com (10.12.238.230) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 8 Nov 2018 12:06:43 -0800 Received: from te-lab16 (10.13.184.20) by US01WEHTC3.internal.synopsys.com (10.15.84.231) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 8 Nov 2018 12:06:41 -0800 Received: by te-lab16 (sSMTP sendmail emulation); Thu, 08 Nov 2018 12:06:41 -0800 Date: Thu, 8 Nov 2018 12:06:41 -0800 Message-ID: From: Thinh Nguyen Subject: [PATCH v6 0/3] 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 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 (3): usb: dwc3: Track DWC_usb31 VERSIONTYPE 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 | 3 + drivers/usb/dwc3/core.h | 23 +++++ drivers/usb/dwc3/gadget.c | 131 +++++++++++++++++++++++++ 4 files changed, 160 insertions(+)