From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753853AbbGFSeq (ORCPT ); Mon, 6 Jul 2015 14:34:46 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:59739 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752281AbbGFSen (ORCPT ); Mon, 6 Jul 2015 14:34:43 -0400 Date: Mon, 6 Jul 2015 13:34:04 -0500 From: Felipe Balbi To: Douglas Anderson CC: Greg Kroah-Hartman , John Youn , Felipe Balbi , , Chris Zhong , Heiko Stuebner , Julius Werner , Andrew Bresticker , Alexandru Stan , , , Subject: Re: [REPOST PATCH 3/3] USB: dwc2: Don't turn off the usbphy in suspend if wakeup is enabled Message-ID: <20150706183404.GI20779@saruman.tx.rr.com> Reply-To: References: <1436207224-21849-1-git-send-email-dianders@chromium.org> <1436207224-21849-4-git-send-email-dianders@chromium.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GvznHscUikHnwW2p" Content-Disposition: inline In-Reply-To: <1436207224-21849-4-git-send-email-dianders@chromium.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --GvznHscUikHnwW2p Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Mon, Jul 06, 2015 at 11:27:04AM -0700, Douglas Anderson wrote: > @@ -282,6 +296,28 @@ static int dwc2_driver_probe(struct platform_device = *dev) > return retval; > } > =20 > +static bool __maybe_unused dwc2_can_poweroff_phy(struct dwc2_hsotg *dwc2) > +{ > + struct usb_device *root_hub =3D dwc2_hsotg_to_hcd(dwc2)->self.root_hub; what happens on peripheral only builds ? --=20 balbi --GvznHscUikHnwW2p Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJVmsocAAoJEIaOsuA1yqRElQMQAJS+JCoyqscgfuI1c78wyuTR houKXfTgrOKRhT0xkTm32RxyNhNonTo3hezHC2KkXIEqZEgSu5zGuKpuVqRmveD/ FpDzXJ0KPVsIbuSOIOAGsPeWwFWSPtxnJZjMViZFIj8cV0UZHIInTPrGclPdpD0S ihSGv44aCihxQL3IYN6q4DUelTCouxNyP/wzhn8pXuxd5d+nXMuUuBz1NV3Wl0Pp 7BpGXMTg9NMusLRbry0nhFPk/St9r5tR+jv3KhuPVqLkPp1nURKwNOjxIZbWDBhp wgoQ6ZlYSEZZO4fEd2LzIPGn5yTtG0jdZVLG1Uy+ZOX1igohptfcILwBSOV5HZ7d PL9icQ1UdBnbYrcwKzA55WT79FcB9VqtGprTjoJoMCUcMWoCFofBVW3AYcYOdQw5 Z0hkFxskqaN0raISkNYow9L6XCNie9OLhFlCQ3kyCXb50HZpk31YdKIR2BXk6bGr gQhijz0mdpihE+JBF7T6KW3BErkP20ZRVeI9DmXWvZY5kIw95mU2DHsZHT3PtG90 6BH69ln8ptQMYp9vM12tEf0b5e4tM50PVZhUTK8re87OpMY6G72WE9hGb8UsrtMM Dg+XGPMaEUtVVqwUiKfHbBPyhz1Fk7tsc+LUhIzsL5mhYGtwSVKCNsRlWZQzeexJ GUD3vlmVViPVplOVcJQ9 =Zi+W -----END PGP SIGNATURE----- --GvznHscUikHnwW2p-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Felipe Balbi Subject: Re: [REPOST PATCH 3/3] USB: dwc2: Don't turn off the usbphy in suspend if wakeup is enabled Date: Mon, 6 Jul 2015 13:34:04 -0500 Message-ID: <20150706183404.GI20779@saruman.tx.rr.com> References: <1436207224-21849-1-git-send-email-dianders@chromium.org> <1436207224-21849-4-git-send-email-dianders@chromium.org> Reply-To: balbi-l0cyMroinI0@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0053255923701718469==" Return-path: In-Reply-To: <1436207224-21849-4-git-send-email-dianders-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+glpar-linux-rockchip=m.gmane.org-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org To: Douglas Anderson Cc: Heiko Stuebner , linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, John Youn , Greg Kroah-Hartman , linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Felipe Balbi , Andrew Bresticker , lyz-TNX95d0MmH7DzftRWevZcw@public.gmane.org, Chris Zhong , Julius Werner , Alexandru Stan List-Id: linux-rockchip.vger.kernel.org --===============0053255923701718469== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GvznHscUikHnwW2p" Content-Disposition: inline --GvznHscUikHnwW2p Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Mon, Jul 06, 2015 at 11:27:04AM -0700, Douglas Anderson wrote: > @@ -282,6 +296,28 @@ static int dwc2_driver_probe(struct platform_device = *dev) > return retval; > } > =20 > +static bool __maybe_unused dwc2_can_poweroff_phy(struct dwc2_hsotg *dwc2) > +{ > + struct usb_device *root_hub =3D dwc2_hsotg_to_hcd(dwc2)->self.root_hub; what happens on peripheral only builds ? --=20 balbi --GvznHscUikHnwW2p Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJVmsocAAoJEIaOsuA1yqRElQMQAJS+JCoyqscgfuI1c78wyuTR houKXfTgrOKRhT0xkTm32RxyNhNonTo3hezHC2KkXIEqZEgSu5zGuKpuVqRmveD/ FpDzXJ0KPVsIbuSOIOAGsPeWwFWSPtxnJZjMViZFIj8cV0UZHIInTPrGclPdpD0S ihSGv44aCihxQL3IYN6q4DUelTCouxNyP/wzhn8pXuxd5d+nXMuUuBz1NV3Wl0Pp 7BpGXMTg9NMusLRbry0nhFPk/St9r5tR+jv3KhuPVqLkPp1nURKwNOjxIZbWDBhp wgoQ6ZlYSEZZO4fEd2LzIPGn5yTtG0jdZVLG1Uy+ZOX1igohptfcILwBSOV5HZ7d PL9icQ1UdBnbYrcwKzA55WT79FcB9VqtGprTjoJoMCUcMWoCFofBVW3AYcYOdQw5 Z0hkFxskqaN0raISkNYow9L6XCNie9OLhFlCQ3kyCXb50HZpk31YdKIR2BXk6bGr gQhijz0mdpihE+JBF7T6KW3BErkP20ZRVeI9DmXWvZY5kIw95mU2DHsZHT3PtG90 6BH69ln8ptQMYp9vM12tEf0b5e4tM50PVZhUTK8re87OpMY6G72WE9hGb8UsrtMM Dg+XGPMaEUtVVqwUiKfHbBPyhz1Fk7tsc+LUhIzsL5mhYGtwSVKCNsRlWZQzeexJ GUD3vlmVViPVplOVcJQ9 =Zi+W -----END PGP SIGNATURE----- --GvznHscUikHnwW2p-- --===============0053255923701718469== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Linux-rockchip mailing list Linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org http://lists.infradead.org/mailman/listinfo/linux-rockchip --===============0053255923701718469==--