Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp467879ybv; Wed, 5 Feb 2020 08:39:03 -0800 (PST) X-Google-Smtp-Source: APXvYqymseD1sF5xwbwlllp7bqPNra6SWeI95G0fS08WddQqfhzduSoGct67yZeFDnW5JXczQCK7 X-Received: by 2002:a05:6830:1651:: with SMTP id h17mr25222870otr.167.1580920742958; Wed, 05 Feb 2020 08:39:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580920742; cv=none; d=google.com; s=arc-20160816; b=j+XHzqI7xbmdrXRwoRDmFFdMMbWujpVYE4JwbS1V1mfoqiUPvcfrRysrZAMtnWh7sU +0JpllUOdqOMN3Y33RtOYAQf46tGo7rNWwr217Uj/d13HIyfJc/+sp2VTDrwKYsXOjxo oatxrJOUARSWXydAicLQN48N5nVWyvMvjtjHBM23N2vrN8GRJkoJq/pxA1CgZVfW6/6T JDMdIHJl93Um7orhSyI0EIVbQmRbzaeT+NGawI/ebY0KoLlewCRsX4Fsk0Ni6abFponC WWByu/SZqqZaBH8gtefXhANFSCYcQYRYVEUCv4ypEnDcXbCHeuatwYWXQ9CEwmL0wifu b/sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=PIUzg03PZCq7NtLZuhzkmxB+obztP4qp7TMcQAm7UzU=; b=aj17Myh+55V7CaGXQMObBloCVASoFi2FQQQSRnlRmGIStp6wtjXaR6DS66X4VEPLfy 0S5neDasafMmHtngmsw+uItWWioBZ21d1n6FBZRPieOCGNTycVB/UzQJjQsGmwCUyGQ8 3NhqWRcXfmwbqsS3VJcdZCT2siLcwj20a/40bncZvjEFt50H3JyLWO90CxDmMG0F3bvY +GoBiIayqV+dJu1XqSjUPsIv7sz01QzcJn2IA87SECehGUyuVB0dcWwJeIxt3L6o4HP9 MRzDD89KPz5x45hh7O4sV9QmA1772jW7IRjmPg5BCgLCTmVtiSuVIGpYK5CBPKJPUTLi dwyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=fZmMzKmu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u130si329464oif.94.2020.02.05.08.38.49; Wed, 05 Feb 2020 08:39:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=fZmMzKmu; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727083AbgBEQgb (ORCPT + 99 others); Wed, 5 Feb 2020 11:36:31 -0500 Received: from mail-lj1-f194.google.com ([209.85.208.194]:42030 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726359AbgBEQgb (ORCPT ); Wed, 5 Feb 2020 11:36:31 -0500 Received: by mail-lj1-f194.google.com with SMTP id d10so2945329ljl.9; Wed, 05 Feb 2020 08:36:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=PIUzg03PZCq7NtLZuhzkmxB+obztP4qp7TMcQAm7UzU=; b=fZmMzKmusht1Fb/nkBDS8TQ16IocvAk77CKdTyDQsHf+wE4QXxfIhStovSkLZJXjuE yQPZjKv7Uxvdg+PVAthVV6ckeh1/HRFx8o25cTy8TnneT8OMW12WZ6JDteruhQVhokeq sLFx1Q6Cn3/wafTw62WxxTQGnAyfB3IYjMoowwR/swxC90IXrVFF62m16wYcPbzSmgI2 dLyXqVsLs4zE1oLk/Yjqv1b2MRKGkocJRadqUbXh/IaSiwlcyevsu25LLmHVyTM6Vt5w A4lX2mPLkyHbfCjEVXawG6+eS8645tEi1Qehq3Cfcwt1idKSMDxossIUYznOplaOUx5I VfhQ== 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:in-reply-to:references :date:message-id:mime-version; bh=PIUzg03PZCq7NtLZuhzkmxB+obztP4qp7TMcQAm7UzU=; b=Lq0NrhMLgpm1wMFHEQBUABCkdALmmXhjrpYMAzS0v5prFWCdhMBBj3Jk8VO4XL9xgg Uznwxl1H5XuMTkx/ijvrOwda7uTj6vQ0g2cF3zyDaCRJicjXHeffCHX8ych0YP8xRzQa QrgZlZpF3AFfojharYzKIn7oMi0A/ia18rV0kkFjURnGqDY0Xdq/zlecvsYNNa+Muj1R 6WBGUUEojiVore/nOe6BQ8rtPRLocR7wApbyLoYuLUg9LHFfp9zaccnBOYbIfPa8Sjm4 CmObrKHYZ364Lo9vQP2SjAF1ESOrr0LzKH5mnarFyQ5wLM93NwhO+GgNhRXPSVLcKho+ 8Vww== X-Gm-Message-State: APjAAAUaIsBuM/X1qshIiWD5mVqNgGyYhlYIpbywxxxU8O+1GdxqMfdE VuBYYmJ8srXJpi+zKN57bvRggbakMek= X-Received: by 2002:a05:651c:20f:: with SMTP id y15mr21710994ljn.7.1580920588582; Wed, 05 Feb 2020 08:36:28 -0800 (PST) Received: from saruman ([2001:999:81:d599:3b1e:9c62:de71:2a9d]) by smtp.gmail.com with ESMTPSA id h24sm13418336ljl.80.2020.02.05.08.36.27 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 05 Feb 2020 08:36:27 -0800 (PST) From: Felipe Balbi To: John Keeping , Minas Harutyunyan Cc: John Keeping , Greg Kroah-Hartman , "open list\:DESIGNWARE USB2 DRD IP DRIVER" , open list Subject: Re: [PATCH] usb: dwc2: Implement set_selfpowered() In-Reply-To: <20200204152933.2216615-1-john@metanate.com> References: <20200204152933.2216615-1-john@metanate.com> Date: Wed, 05 Feb 2020 18:36:21 +0200 Message-ID: <87wo9156uy.fsf@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable John Keeping writes: > dwc2 always reports as self-powered in response to a device status > request. Implement the set_selfpowered() operations so that the gadget > can report as bus-powered when appropriate. > > This is modelled on the dwc3 implementation. > > Signed-off-by: John Keeping > --- what's the dependency here? checking file drivers/usb/dwc2/gadget.c Hunk #1 FAILED at 1646. Hunk #2 succeeded at 4521 (offset -9 lines). Hunk #3 succeeded at 4632 (offset -9 lines). 1 out of 3 hunks FAILED =2D-=20 balbi --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEElLzh7wn96CXwjh2IzL64meEamQYFAl467wUACgkQzL64meEa mQYo2w//ZyxGZVbFWXyPTffhW2kVCvsTOu71akMCkQMJ8NFgPE6/uNB/7osrd5bN cQZagrehU16jX+P4608iFEcLx5ogEJ2d3Y5Yi6qvi6ISWxhio5agXLUDpgA3BM5n P/6BEp9UJ+0H4FEMNtlQpdLuvby9/hcnMj3b8ZOqtRJoztybdPEKjbfPC/2tZoZY zGNazxE+EQIi3hD4LcfRs4YmLS4YC38mmGkuoSt+du1JNH6gtWyGDjgXX/4T+YvH b2h/hQfU9Gy8bqs9n33DGI9LUouUXD1xYVPAabs21baAfRZolKyvi0Jq7m46tfT/ 7gugqQO8bqtYivWSRgZr5+srxWUhyqJ1UyYOpSUsJORG4EbCKFkZMV0QSVbpwSwU w4yGq10qDiWy69dIs4c5iyEoKGb8muR3lMVhDScznHyH7ozFLGjmDtJodpJbK5Ln RQl3TQ0jf9c2wRzJED2VZKwUEJq3FHFL3kHjCFAx5aHmEuZ1N8EdtJywPUcGfNlk csXaKT5rsBhmlX7U5IagOtgBmd7MBQ33lwwy58zIevyMAHaWrV3xvsfVg8/83zQO /b1o5M+tSHQd28gT7moUJWBCAj60T4I61PJmEIYAea/fDrMqzaIqFRmtgJWI/wE2 AwRFMM3tRFLQyTGuMO7fKtNwEP0RWCtJrTFeny85G5ZfMG01Obo= =V5OR -----END PGP SIGNATURE----- --=-=-=--