Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753249AbbKWC3y (ORCPT ); Sun, 22 Nov 2015 21:29:54 -0500 Received: from mail-bl2on0126.outbound.protection.outlook.com ([65.55.169.126]:39269 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753064AbbKWC3v (ORCPT ); Sun, 22 Nov 2015 21:29:51 -0500 Authentication-Results: spf=permerror (sender IP is 192.88.168.50) smtp.mailfrom=freescale.com; gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=freescale.com; Date: Mon, 23 Nov 2015 10:10:52 +0800 From: Peter Chen To: Felipe Balbi CC: Tim Bird , "robh+dt@kernel.org" , "pawel.moll@arm.com" , "mark.rutland@arm.com" , "gregkh@linuxfoundation.org" , =?iso-8859-1?Q?Andersson=2C_Bj=F6rn?= , "linux-usb@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-arm-msm@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "tbird20d@gmail.com" Subject: Re: [PATCH 2/2] usb: phy: msm: fix connect/disconnect bug for dragonboard OTG port Message-ID: <20151123021051.GB16321@shlinux2> References: <1447202811-3429-1-git-send-email-tim.bird@sonymobile.com> <1447202811-3429-2-git-send-email-tim.bird@sonymobile.com> <20151111031445.GA8826@shlinux2> <56437F50.6050006@sonymobile.com> <20151112091349.GA3402@shlinux2> <877flhn9mh.fsf@saruman.tx.rr.com> <564FA087.5050807@sonymobile.com> <87mvu8b224.fsf@saruman.tx.rr.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <87mvu8b224.fsf@saruman.tx.rr.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1;BN1BFFO11FD004;1:qJTcHBRcl2bbbMfFne3MP6DUbW1Y1RbLosf0756FS3fVtx3w6paw8383lDLf/nidhsg7bJlNlMkjOOdGUb28MqBQWGyGymOTbUYLysq4mF0SFr9Cc6LPjA4Dj0o1lzePuf4VkpU3Lwl+f8eS6ohTlbVDOTKFlc1AOwAyb/7d3kb0LvUCAtZ3uDYKi/jtjHyA49/MuZyR84E39PC4nIo91y7iXPhkDyZ3f+EyD2ZGFZL+wufaR7ZlPo9r0/AlzfBdLMUwpMSWQI7app6VfpKK8V8xLlT6zFuDw2WFAm0U8LnyDgXf6lpfoIDyZYvuIW+oBBRT1BpSf2ML6+b+n0xOvgKTqONI+qZ9wkCi34s5vlipPAIQAJHUOVLLyT6gPf79mYQKZW7uEiPJu2otZdyJeIJnu5z4EOhEmpy2bY22EUg= X-Forefront-Antispam-Report: CIP:192.88.168.50;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10019020)(6009001)(2980300002)(1060300003)(448002)(24454002)(377454003)(189002)(479174004)(199003)(85326001)(97756001)(2950100001)(4290100001)(92566002)(87936001)(46406003)(11100500001)(86362001)(6806005)(104016004)(5007970100001)(83506001)(23726003)(606003)(33716001)(81156007)(33656002)(19580395003)(110436001)(54356999)(19580405001)(4001350100001)(77096005)(5008740100001)(76176999)(106466001)(5001960100002)(110136002)(50986999)(97736004)(47776003)(50466002)(93886004);DIR:OUT;SFP:1102;SCL:1;SRVR:CY1PR0301MB1226;H:tx30smr01.am.freescale.net;FPR:;SPF:PermError;PTR:InfoDomainNonexistent;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;CY1PR0301MB1226;2:iQcSIVnuZPRnglBJK/5txcnkqDUeKO5GA6hKdeMmM+ooUwY7NySUGJ5Gvo7op+tzo9CB7EV8HLmST2zKbmCdEamHuKrixhq+BlHKSxs3xiIFVBC2y4wL9s+yex3opedgplpvtyUXFt7ppQmlTUdAvQ==;3:hLwSgovBDcv2IBzu7YWXAzt0WEZjsra0od/eT7sM7fs6BaPFQ1ZZCyDo+zftMgj8yl6Gj/veMoNo9SmsMAlLj8BDqx1AFRK11O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r1yJ2KIbad2edqnxiZ95jS2RTO4rOiJrhqqHUrdHW0moOTST7TP9O/YxHREAVV8yEICAooHoTZF5+FnSt6fKuo7BtxjHth8yFxCv0K+olvaKk4wIVpNynPeIl/agOa0WcTJxX4c0dBSTy0+niHU/XlJBV3Wyr8OnzZMVjimo+QqEsPsCCDH721SX5046mJErOB5/wfiaqlLN9sjLHPJGb+uynEgtwGX3A73Iut6ovDDJ9k+kpZVYKwsJ0p7Qbb9boItiD2w X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(101931422205132); X-Exchange-Antispam-Report-CFA-Test: BCL:1;PCL:0;RULEID:(601004)(2401047)(5005006)(520078)(1201001)(8121501046)(3002001)(10201501046);SRVR:CY1PR0301MB1226;BCL:1;PCL:0;RULEID:;SRVR:CY1PR0301MB1226; X-Forefront-PRVS: 07697999E6 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY1PR0301MB1226;23:dWGq6ZNCe7kWGXv2/Hj1zxtqKd61y7qzBXccLcP?= =?us-ascii?Q?OzLmeEEvQanLWVs/6rJ+sXaX1bBhzynPXbx0uNsawu/zh8xpjbC5UYRcNG8C?= =?us-ascii?Q?WUCyxFj97RSCJD2WFocgTk30IZ7asBbNSL8Os795FOKmdemsHhw8O4plr9sB?= =?us-ascii?Q?fLutLVPC+p9roETGB5qoP8fszg+bhHGUPNWqQKi0SJv2uViTLB7SZ9beoJNa?= =?us-ascii?Q?MJlaMEbBLUCh8yGKmMVaUop2uvsS2Mz8tv08Ikt88b05jt2fSg/X1/f3IQu0?= =?us-ascii?Q?e6VxaQQ61ONXNvlkUcH1pb3BAsfLMzw3Koc5mJFaduNWaDFtPovYAS/3D3zF?= =?us-ascii?Q?69DafXlcUpXI6ba10fzdF+jr72wOMVY+JMAWmF6zCBP0sY6HV2KY4uIWb4O7?= =?us-ascii?Q?tispZMQ5q/TlYoaqsIVm2KMAPTBqBbEDRltaDNqyyPmH0WgcE23nWaH0X95F?= =?us-ascii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DOzSWRxLqCP1FNAis1DuZU8xUmlnBnnn1VL9aV+daKn8i6/QLD8MDXHd5HcJlSz9a+uuNYLszXJGU= SpamDiagnosticOutput: 1:5 SpamDiagnosticMetadata: 00000000%2D0000%2D0000%2D0000%2D000000000000 SpamDiagnosticMetadata: 1 X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Nov 2015 02:13:53.2198 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d;Ip=[192.88.168.50];Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0301MB1226 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1872 Lines: 52 On Fri, Nov 20, 2015 at 06:58:59PM -0600, Felipe Balbi wrote: > > Hi, > > Tim Bird writes: > > On 11/16/2015 09:21 AM, Felipe Balbi wrote: > >> > >> Hi, > >> > >> Peter Chen writes: > >>> On Wed, Nov 11, 2015 at 09:48:00AM -0800, Tim Bird wrote: > >>>> > >>>> > >>>> On 11/10/2015 07:14 PM, Peter Chen wrote: > >>>>> On Tue, Nov 10, 2015 at 04:46:51PM -0800, Tim Bird wrote: > >>>>>> This fixes a bug where if you disconnect and re-connect the USB cable, > >>>>>> the gadget driver stops working. > >>>>>> > >>>>>> Add support for async_irq to wake up driver from low power mode. > >>>>>> Without this, the power management code never calls resume. > >>>>>> Also, have the phy driver kick the gadget driver (chipidea otg) > >>>>>> by having the chipidea driver register with it, for vbus connect > >>>>>> notifications. > >>>>>> > >>>>>> Signed-off-by: Tim Bird > >>>>>> --- > >>>>>> drivers/usb/chipidea/udc.c | 6 ++++++ > >>>>>> drivers/usb/phy/phy-msm-usb.c | 16 ++++++++++++++++ > >>>>>> include/linux/usb/msm_hsusb.h | 1 + > >>>>>> 3 files changed, 23 insertions(+) > >> > >> I just wanna know how you guys want this to be handled ? Through my tree > >> or chipidea's ? Or do we break the dependencies between the changes ? > > > > I'm fine with splitting it up. I'm sending a new series with 3 patches > > right after this message. Do both trees go to linux-next? > > I have my fixes and next branches both on next. Not sure about chipidea. > Chipidea's fixes and next branches on next too. -- Best Regards, Peter Chen -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/