mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* usb: misc: usb3503: connect and intn mismatch in OF vs variable assignments
@ 2013-08-16  8:53 Alban Browaeys
  2013-08-16  9:45 ` Dongjin Kim
  0 siblings, 1 reply; 2+ messages in thread
From: Alban Browaeys @ 2013-08-16  8:53 UTC (permalink / raw)
  To: Dongjin Kim
  Cc: Grant Likely, Rob Herring, Greg Kroah-Hartman, devicetree, linux-kernel

hub->gpio_intn  = of_get_named_gpio(np, "connect-gpios", 0);
and
hub->gpio_connect = of_get_named_gpio(np, "intn-gpios", 0);

I guess they should be switched , that is connect-gpios bound to hub->gpio_connect
and intn-gpios to hub->gpio_int.

Sorry not to provides a patch. I thought that this issue might ends up with dts relying
on this broken behaviour if not pointed early ...
Either way if not fixed soon , I will have completed my branch cleanup (I also have other patches
to this file ie drivers/usb/misc/usb3503.c).

Best regards
Alban


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: usb: misc: usb3503: connect and intn mismatch in OF vs variable assignments
  2013-08-16  8:53 usb: misc: usb3503: connect and intn mismatch in OF vs variable assignments Alban Browaeys
@ 2013-08-16  9:45 ` Dongjin Kim
  0 siblings, 0 replies; 2+ messages in thread
From: Dongjin Kim @ 2013-08-16  9:45 UTC (permalink / raw)
  To: Alban Browaeys
  Cc: Grant Likely, Rob Herring, Greg Kroah-Hartman, devicetree, linux-kernel

Hi,

The patch is submitted by Mark Brown a week ago, and might be queued already.

[1] http://www.spinics.net/lists/linux-usb/msg91410.html

Thanks,
Dongjin.

On Fri, Aug 16, 2013 at 5:53 PM, Alban Browaeys <prahal@yahoo.com> wrote:
> hub->gpio_intn  = of_get_named_gpio(np, "connect-gpios", 0);
> and
> hub->gpio_connect = of_get_named_gpio(np, "intn-gpios", 0);
>
> I guess they should be switched , that is connect-gpios bound to hub->gpio_connect
> and intn-gpios to hub->gpio_int.
>
> Sorry not to provides a patch. I thought that this issue might ends up with dts relying
> on this broken behaviour if not pointed early ...
> Either way if not fixed soon , I will have completed my branch cleanup (I also have other patches
> to this file ie drivers/usb/misc/usb3503.c).
>
> Best regards
> Alban
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-16  9:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-16  8:53 usb: misc: usb3503: connect and intn mismatch in OF vs variable assignments Alban Browaeys
2013-08-16  9:45 ` Dongjin Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®