From patchwork Sat May 9 08:11:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 11538021 Return-Path: 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 60D4D139F for ; Sat, 9 May 2020 08:11:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4957124953 for ; Sat, 9 May 2020 08:11:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589011881; bh=rvZpTaWHlyTpCquKQiVOTg6gLitkheXcVLBeI6FYDjE=; h=From:To:Cc:Subject:Date:List-ID:From; b=hJ/YNKUCHFgy18wk0zsPJAxjUCIrB5145nXQxxVKMhaW/mnS8B5X7vZPQ04wazZUa 7WfqdCgbTKCrhNvdsfiadS72+eGmbD6dutPDnkp2gj1Q33ME9j6GkCfEDsbcm38aSd Gqzg2COxUSriwGlA2YI+4zTBnhhQXidcTZfMSIu0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727116AbgEIILU (ORCPT ); Sat, 9 May 2020 04:11:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725850AbgEIILU (ORCPT ); Sat, 9 May 2020 04:11:20 -0400 Received: from mail-lj1-x244.google.com (mail-lj1-x244.google.com [IPv6:2a00:1450:4864:20::244]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE9EDC061A0C for ; Sat, 9 May 2020 01:11:18 -0700 (PDT) Received: by mail-lj1-x244.google.com with SMTP id j3so4095211ljg.8 for ; Sat, 09 May 2020 01:11:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version; bh=RtEpq7FVI5yCvMYIKkV4/mzKlHTDQ5EMy5SBGjVVdyY=; b=lPXfpXv8Q75VBrk16Db9igY+PiLbw2KqmRcRO6FZ4VHrL7BwEKwiBJA4WdBZcReT0j Kv8KlHs6uueRjGr/BOWdYJNAWdHhRJ539oIX498LC6PKQEhboqL37KDo54jxjbqAgEWJ TfWIO3y47zrpx1HqvScUmyjTGjgl6GculAvXcaV6iYqMxOyrToxbnBXgQmMitVavmWoW ErHVdL+gVahdmDf5IvJlUrOyNZPNLD5mOT5sguvCLsxejG18/wLrwqLadhAFqCbyzQmT /KaXfAPjVsE0hKZB4dZdWAOLChueX02HKgd2Y5FdT1QeMWMKDsBnjfhPyh+oSan1M6ZE bpGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version; bh=RtEpq7FVI5yCvMYIKkV4/mzKlHTDQ5EMy5SBGjVVdyY=; b=jEnSVbnCvOs3ZXemE5lvU+A3vK2zcos5MDKJolAjDIoNht7AE7wGK95iuLHikcpxor 5vnj2rW2mzU4Wz8CqnCYarB0TuguIVm0NmQhkd9Yzz8p/pEI+BvOAnlJfH0HR/3pLlX7 ykHWC9Kh+3ExriuxeZBnrkPYOaacbJAHo/z18WpCp0ShTmVKNfUX5NVP/T4WNEy1SRp0 k+pryBubFmWzJUfYdJ0frTiInR4yu5O29FfwhFfYPZauc6sM0hxBZpstCTOSjhF559XE mHPjOQmDryXEZDJDepEZSRTQl6n4juyzIzWyCxRhYnh7OGV6v+w7QBLxuO0x0rdQe8eq cBtQ== X-Gm-Message-State: AOAM5332eVt4TXN5+RMzi4I0CZhVWW4EhYxY8vqwsAdfujaYxHJ5D2iJ y6DkgEAj+Jo99ZhCdh0o2+1zDrxJ0pw= X-Google-Smtp-Source: ABdhPJzSS21IxS9k5tAZyMhhpWlvf/mw+jQEKGP5QvuY1CGBLuGyUM77CJcLx87C1Bb+qfXx3u7ThA== X-Received: by 2002:a05:651c:449:: with SMTP id g9mr4194038ljg.278.1589011876892; Sat, 09 May 2020 01:11:16 -0700 (PDT) Received: from saruman (91-155-214-58.elisa-laajakaista.fi. [91.155.214.58]) by smtp.gmail.com with ESMTPSA id c4sm3196371lfi.13.2020.05.09.01.11.16 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 09 May 2020 01:11:16 -0700 (PDT) From: Felipe Balbi To: Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org Subject: [GIT PULL] USB fixes for v5.7-rc Date: Sat, 09 May 2020 11:11:12 +0300 Message-ID: <87v9l5le8v.fsf@kernel.org> MIME-Version: 1.0 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Hi Greg, here's another pull request for the current -rc cycle. We may have another pull request to add a few more fixes to the raw-gadget, but it depends on your reply to my query on that thread ;-) cheers The following changes since commit d5eeab8d7e269e8cfc53b915bccd7bd30485bcbf: Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi (2020-05-08 10:36:56 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git fixes-for-v5.7-rc5 for you to fetch changes up to 6e507644209b4a043363e165855a3a3050c4d40e: usb: raw-gadget: fix return value of ep read ioctls (2020-05-09 11:05:09 +0300) ---------------------------------------------------------------- USB: fixes for v5.7-rc5 Fixing raw-gadget's IOCTL return value. Enabling EXTCON for Intel Merrifield. Couple leaks have been plugged in net2272 and twl6030-usb. Returning an error code when things fail in cdc and ncm legacy gadgets. An old bug on dwc3 regarding HWO bit handling has been fixed. Apart from these, some minor fixes. Signed-off-by: Felipe Balbi ---------------------------------------------------------------- Andrey Konovalov (1): usb: raw-gadget: fix return value of ep read ioctls Andy Shevchenko (1): usb: dwc3: pci: Enable extcon driver for Intel Merrifield Arnd Bergmann (1): usb: dwc3: select USB_ROLE_SWITCH Christophe JAILLET (3): usb: gadget: audio: Fix a missing error return value in audio_bind() usb: phy: twl6030-usb: Fix a resource leak in an error handling path in 'twl6030_usb_probe()' usb: gadget: net2272: Fix a memory leak in an error handling path in 'net2272_plat_probe()' John Stultz (1): dwc3: Remove check for HWO flag in dwc3_gadget_ep_reclaim_trb_sg() Masahiro Yamada (1): usb: gadget: legacy: fix redundant initialization warnings Peter Chen (1): usb: cdns3: gadget: prev_req->trb is NULL for ep0 Thierry Reding (1): usb: gadget: tegra-xudc: Fix idle suspend/resume Wei Yongjun (2): usb: gadget: legacy: fix error return code in cdc_bind() usb: gadget: legacy: fix error return code in gncm_bind() drivers/usb/cdns3/gadget.c | 2 +- drivers/usb/dwc3/Kconfig | 1 + drivers/usb/dwc3/dwc3-pci.c | 1 + drivers/usb/dwc3/gadget.c | 3 --- drivers/usb/gadget/legacy/audio.c | 4 +++- drivers/usb/gadget/legacy/cdc2.c | 4 +++- drivers/usb/gadget/legacy/inode.c | 3 +-- drivers/usb/gadget/legacy/ncm.c | 4 +++- drivers/usb/gadget/legacy/raw_gadget.c | 8 ++++++-- drivers/usb/gadget/udc/net2272.c | 2 ++ drivers/usb/gadget/udc/tegra-xudc.c | 8 ++++---- drivers/usb/phy/phy-twl6030-usb.c | 12 +++++++++--- 12 files changed, 34 insertions(+), 18 deletions(-)