Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S941690AbcLVR0x (ORCPT ); Thu, 22 Dec 2016 12:26:53 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:54436 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752854AbcLVR0w (ORCPT ); Thu, 22 Dec 2016 12:26:52 -0500 Date: Thu, 22 Dec 2016 18:27:05 +0100 From: Greg Kroah-Hartman To: Peter Rosin Cc: linux-kernel@vger.kernel.org, Alan Stern , linux-usb@vger.kernel.org, Wenyou Yang Subject: Re: [PATCH v2 REGRESSION RESEND] usb: ohci-at91: use descriptor-based gpio APIs correctly Message-ID: <20161222172705.GA17046@kroah.com> References: <1482392635-20521-1-git-send-email-peda@axentia.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1482392635-20521-1-git-send-email-peda@axentia.se> User-Agent: Mutt/1.7.2 (2016-11-26) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 983 Lines: 26 On Thu, Dec 22, 2016 at 08:43:55AM +0100, Peter Rosin wrote: > The gpiod_get* function family does not want the -gpio suffix. > Use devm_gpiod_get_index_optional instead of devm_gpiod_get_optional. > The descriptor based APIs handle active high/low automatically. > The vbus-gpios are output, request enable while getting the gpio. > Don't try to get any vbus-gpios for ports outside num-ports. > > WTF? Big sigh. > > Fixes: 054d4b7b577d ("usb: ohci-at91: Use descriptor-based gpio APIs") > Signed-off-by: Peter Rosin > --- > > Hi! > > Resending this, since the only response I've got is that the merge > window is open and that this patch has been put on hold due to that. > But I think this regression (which happend between v4.9 and current > master) should be fixed before the merge window closes. I don't merge patches before -rc1 comes out, sorry, people should have tested linux-next better :) I'll catch up the first week of January, relax. greg k-h