Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp473960ybv; Wed, 5 Feb 2020 08:46:15 -0800 (PST) X-Google-Smtp-Source: APXvYqzr1ouN5rHkaSUSPGFUBC1OTFU4v9HR7J6w0zdeFegmqkAW63IY70j1ayHHc0o5JXIA3IVg X-Received: by 2002:a9d:64d8:: with SMTP id n24mr24977532otl.71.1580921175470; Wed, 05 Feb 2020 08:46:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580921175; cv=none; d=google.com; s=arc-20160816; b=lYsUwNunTMzeD9pxNFalehDXnrl8B8jwGIMwy+JMBuew8Em46d/Y+75euFNLOsal00 aiHqdylHC+NK3I2KDWWf0CYAjH/VLRFQSgw0Hy/GBLT+2cP9BeeeHaCpcSXphSRqwMmg t34bHjeAkQHJu5qpPzkJwNBv9di8YcZaGnfOwKk1TxlTgm7+x7vkGgMUkctiFGYxr+oD nCNzVU4VhCI+GxMcCtVYD7oxnZl3TSZgRMponH2bCKgLXUOkVob0leV/3GIDB43vTRew qILccoFRvdt/UgomHWlaZfxftv3vrBcXZtZIOMwne3g6/6G9JL5FYZlrzurkk+Z98rFC M1uQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=5TnnbfbmRYgwjjhpTjawl4vnqo8YhsgOfpVYZxeXVKc=; b=YHV8rqJ1MthYF0E+O7TG/nm2kMEvEem03Plo9HXhYFddYjoHQxq7DzatNWNYNa8KiE SEhhwrzvAhCBiouawzGZuSqVcDBrkve2WGqG26M0GAnU2RrjzyU+3VEnZDQkoZ+8/6a2 oQKowNgUL1b6wLL/DTw/4m0BE4GYWzauDbIJ6qyClDgonapoakU4PQ1VPHaZpabbZXFh JQldFEJgV32HvwYS4xBDYBfFXivU6rr7Ld0IQRoGx/xFDWsvkL+7f8/U0XkSi2A801Rp 4vu8nI2z939d+o89eGu1y37n4lEGzepVoYoOCw0B+qM99b7fIzodlYOTwE0wRG26B/Qd ZHqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@metanate.com header.s=stronger header.b=BdhSzvxB; 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=pass (p=NONE sp=NONE dis=NONE) header.from=metanate.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b10si260028oiy.254.2020.02.05.08.46.03; Wed, 05 Feb 2020 08:46:15 -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=pass (test mode) header.i=@metanate.com header.s=stronger header.b=BdhSzvxB; 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=pass (p=NONE sp=NONE dis=NONE) header.from=metanate.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727481AbgBEQoy (ORCPT + 99 others); Wed, 5 Feb 2020 11:44:54 -0500 Received: from dougal.metanate.com ([90.155.101.14]:41952 "EHLO metanate.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726534AbgBEQoy (ORCPT ); Wed, 5 Feb 2020 11:44:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=metanate.com; s=stronger; h=Content-Transfer-Encoding:Content-Type: References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID :Content-Description; bh=5TnnbfbmRYgwjjhpTjawl4vnqo8YhsgOfpVYZxeXVKc=; b=BdhS zvxB5zXvgJLw4G/jrE4kb4+zEcZ9l38ys9Co0baEmheFGfwWOMe1xHOseUwLSyogyDnrHmTRABs7g pvXUhfTQyNbYZYlo8UJMjUUDEY+u9yuzvH2UTeI1ysuxtA1agn3Kw+3bzVqVyIpuVkjFOL2bdgJRt 6V6XFPdwRb1Zx74c5F6zBWOqdJ5BlgcWZPYPoHhwzlQMpHysIlB1QGvvPJFIvFWB8DearZbsQd49Q 2p7rUbvTEsmzbpHmEZ5opxn3lJV2T+grA7iqbYMqB3Y3uDSFcblbE4MPSPgfsRXNGcEKjZrY6xvOt kp05NMaH//eiLwTxTKaouP77+LLN3Q==; Received: from dougal.metanate.com ([192.168.88.1] helo=donbot) by email.metanate.com with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1izNnE-0008Q9-VC; Wed, 05 Feb 2020 16:44:49 +0000 Date: Wed, 5 Feb 2020 16:44:48 +0000 From: John Keeping To: Felipe Balbi Cc: Minas Harutyunyan , Greg Kroah-Hartman , , Subject: Re: [PATCH] usb: dwc2: Implement set_selfpowered() Message-ID: <20200205164448.0c7532c1.john@metanate.com> In-Reply-To: <87wo9156uy.fsf@kernel.org> References: <20200204152933.2216615-1-john@metanate.com> <87wo9156uy.fsf@kernel.org> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Authenticated: YES Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 05 Feb 2020 18:36:21 +0200 Felipe Balbi wrote: > 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? It depends on 6de1e301b9cf ("usb: dwc2: Fix SET/CLEAR_FEATURE and GET_STATUS flows") in your testing/fixes tree. Sorry, I should have mentioned that in the original message. John