* [PATCH 1/1] usb: at91_udc: fix typo on vubs pullup valid check
@ 2012-11-05 7:39 Jean-Christophe PLAGNIOL-VILLARD
2012-11-05 7:49 ` Greg Kroah-Hartman
0 siblings, 1 reply; 2+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2012-11-05 7:39 UTC (permalink / raw)
To: linux-arm-kernel
if the gpio is not valid complain
since 3285e0ec088febc5a88f57ddd78385a7da71476c
ARM: at91/udc: use gpio_is_valid to check the gpio
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: linux-usb at vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
---
Hi Greg,
this is broken since 3.2 can we have on the stable too
Best Regards,
J.
drivers/usb/gadget/at91_udc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/gadget/at91_udc.c b/drivers/usb/gadget/at91_udc.c
index 89d90b5..888cb2a 100644
--- a/drivers/usb/gadget/at91_udc.c
+++ b/drivers/usb/gadget/at91_udc.c
@@ -1739,7 +1739,7 @@ static int __devinit at91udc_probe(struct platform_device *pdev)
/* rm9200 needs manual D+ pullup; off by default */
if (cpu_is_at91rm9200()) {
- if (gpio_is_valid(udc->board.pullup_pin)) {
+ if (!gpio_is_valid(udc->board.pullup_pin)) {
DBG("no D+ pullup?\n");
retval = -ENODEV;
goto fail0;
--
1.7.10.4
^ permalink raw reply related [flat|nested] 2+ messages in thread* [PATCH 1/1] usb: at91_udc: fix typo on vubs pullup valid check
2012-11-05 7:39 [PATCH 1/1] usb: at91_udc: fix typo on vubs pullup valid check Jean-Christophe PLAGNIOL-VILLARD
@ 2012-11-05 7:49 ` Greg Kroah-Hartman
0 siblings, 0 replies; 2+ messages in thread
From: Greg Kroah-Hartman @ 2012-11-05 7:49 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Nov 05, 2012 at 08:39:43AM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
> if the gpio is not valid complain
>
> since 3285e0ec088febc5a88f57ddd78385a7da71476c
> ARM: at91/udc: use gpio_is_valid to check the gpio
>
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
> Cc: linux-usb at vger.kernel.org
> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
> ---
> Hi Greg,
>
> this is broken since 3.2 can we have on the stable too
Sure, but you should be sending gadget patches to Felipe, not me, as
he's in charge of that tree. So I suggest you resend this, cc: Felipe
and add the proper stable tree marking to the Cc: area of the
signed-off-by: part of the patch, like the file
Documentation/stable_kernel_rules.txt describes to do. That way it will
be picked up automatically for the stable releases when it gets in to
Linus's tree.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-11-05 7:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-05 7:39 [PATCH 1/1] usb: at91_udc: fix typo on vubs pullup valid check Jean-Christophe PLAGNIOL-VILLARD
2012-11-05 7:49 ` Greg Kroah-Hartman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox