From patchwork Thu Nov 8 03:51:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thinh Nguyen X-Patchwork-Id: 10673427 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 AD48A15E9 for ; Thu, 8 Nov 2018 03:51:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 99F292C6DC for ; Thu, 8 Nov 2018 03:51:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8E9052C748; Thu, 8 Nov 2018 03:51:07 +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 1AE612C62A for ; Thu, 8 Nov 2018 03:51:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728687AbeKHNYb (ORCPT ); Thu, 8 Nov 2018 08:24:31 -0500 Received: from smtprelay2.synopsys.com ([198.182.60.111]:34276 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728621AbeKHNYb (ORCPT ); Thu, 8 Nov 2018 08:24:31 -0500 Received: from mailhost.synopsys.com (mailhost2.synopsys.com [10.13.184.66]) by smtprelay.synopsys.com (Postfix) with ESMTP id 9F49E10C0BEC; Wed, 7 Nov 2018 19:51:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1541649064; bh=8TLCWRfLnvQL32AdPhVbhr1qntHoSCCQf/4qyuxS12k=; h=Date:From:Subject:To:CC:From; b=cdzXlSCWRk7HvWPwjgHyDV9oqfTqHRruvsROVu5x/b+mI8t7K/I6wEAaRC7RtrZVI tcj9bdOu8xAQrKtgKrTwQ6egrxwanx3gSqC8OTtEiqjffOLh8jyjWR6IaVCmxO7k3d rPkUg6DCqOhuOGCOqWu7wBUPG4qSx/r+2/vepUe2ODfajojrrJtjFdoVa9j/wTWfU5 Bi/HEZ1B1qQmWp/v15Bol0t5xILjN5X0H4ivIG61m3p2h2Dp/DqKqeReV38uFKq2LL oZUMH7TayPHuL6vC/Zddy39ueVpmPLggGapt3SpI1d6uI234QU4eHjbcu6poGDw3pE jEdE3vKhvb93Q== Received: from US01WEHTC3.internal.synopsys.com (us01wehtc3.internal.synopsys.com [10.15.84.232]) by mailhost.synopsys.com (Postfix) with ESMTP id 640AF3D12; Wed, 7 Nov 2018 19:51:04 -0800 (PST) Received: from US01WEHTC1.internal.synopsys.com (10.12.239.236) by US01WEHTC3.internal.synopsys.com (10.15.84.232) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 7 Nov 2018 19:51:04 -0800 Received: from te-lab16 (10.13.184.20) by us01wehtc1.internal.synopsys.com (10.12.239.236) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 7 Nov 2018 19:51:03 -0800 Received: by te-lab16 (sSMTP sendmail emulation); Wed, 07 Nov 2018 19:51:02 -0800 Date: Wed, 7 Nov 2018 19:51:02 -0800 Message-ID: From: Thinh Nguyen Subject: [PATCH v5 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 v5: - Splited 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 | 19 ++++ drivers/usb/dwc3/gadget.c | 132 +++++++++++++++++++++++++ 4 files changed, 157 insertions(+)