Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1546507

Re: [PATCH v2 REGRESSION RESEND] usb: ohci-at91: use descriptor-based gpio APIs correctly

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2 REGRESSION RESEND] usb: ohci-at91: use descriptor-based gpio APIs correctly
Date Thu, 22 Dec 2016 18:30:01 +0100
Message-ID <sRflL-3Vq-3@gated-at.bofh.it> (permalink)
References <sRflL-3Vq-5@gated-at.bofh.it>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.7.2 (2016-11-26)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 26
Organization linux.* mail to news gateway
X-Original-Cc linux-kernel@vger.kernel.org, Alan Stern <stern@rowland.harvard.edu>, linux-usb@vger.kernel.org, Wenyou Yang <wenyou.yang@atmel.com>
X-Original-Date Thu, 22 Dec 2016 18:27:05 +0100
X-Original-Message-ID <20161222172705.GA17046@kroah.com>
X-Original-References <1482392635-20521-1-git-send-email-peda@axentia.se>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1546507

Show key headers only | View raw


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 <peda@axentia.se>
> ---
> 
> 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

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH v2 REGRESSION RESEND] usb: ohci-at91: use  descriptor-based gpio APIs correctly Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-12-22 18:30 +0100
  Re: [PATCH v2 REGRESSION RESEND] usb: ohci-at91: use  descriptor-based gpio APIs correctly Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-12-23 19:10 +0100
    RE: [PATCH v2 REGRESSION RESEND] usb: ohci-at91: use  descriptor-based gpio APIs correctly <Wenyou.Yang@microchip.com> - 2016-12-26 06:20 +0100

csiph-web