All of lore.kernel.org
 help / color / mirror / Atom feed
* 2.6.29-rc: remaining regression: n770_defconfig, omap_apollon_2420_defconfig
@ 2009-01-27 22:50 Russell King - ARM Linux
       [not found] ` <20090127225000.GC639-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Russell King - ARM Linux @ 2009-01-27 22:50 UTC (permalink / raw)
  To: linux-omap

Now that the usb_port_suspend() build error is fixed in 2.6.29-rc1-git6,
n770_defconfig and omap_apollon_2420_defconfig now suffers from:

drivers/built-in.o: In function `ohci_omap_init':
hid-quirks.c:(.text+0x6c620): undefined reference to `otg_get_transceiver'
drivers/built-in.o: In function `omap_udc_probe':
hid-quirks.c:(.init.text+0x34c0): undefined reference to `otg_get_transceiver'
hid-quirks.c:(.init.text+0x3d40): undefined reference to `otg_put_transceiver'

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

* Re: 2.6.29-rc: remaining regression: n770_defconfig, omap_apollon_2420_defconfig
       [not found] ` <20090127225000.GC639-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
@ 2009-01-27 23:41   ` Tony Lindgren
       [not found]     ` <20090127234155.GI32148-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Tony Lindgren @ 2009-01-27 23:41 UTC (permalink / raw)
  To: Russell King - ARM Linux
  Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA,
	linux-usb-u79uwXL29TY76Z2rM5mHXA

* Russell King - ARM Linux <linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org> [090127 14:50]:
> Now that the usb_port_suspend() build error is fixed in 2.6.29-rc1-git6,
> n770_defconfig and omap_apollon_2420_defconfig now suffers from:
> 
> drivers/built-in.o: In function `ohci_omap_init':
> hid-quirks.c:(.text+0x6c620): undefined reference to `otg_get_transceiver'
> drivers/built-in.o: In function `omap_udc_probe':
> hid-quirks.c:(.init.text+0x34c0): undefined reference to `otg_get_transceiver'
> hid-quirks.c:(.init.text+0x3d40): undefined reference to `otg_put_transceiver'

Adding linux-usb to the list hoping there's already a fix for this.

To me it looks like there should be ifdef CONFIG_USB_OTG_UTILS instead
of CONFIG_USB_OTG in the drivers to keep them compiling when no
transceiver is selected.

Or otg.h should have inlined dummy functions for otg_get_transceiver
and otg_put_transceiver.

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: 2.6.29-rc: remaining regression: n770_defconfig, omap_apollon_2420_defconfig
       [not found]     ` <20090127234155.GI32148-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
@ 2009-01-27 23:45       ` David Brownell
  2009-01-28  1:10         ` Kyungmin Park
  0 siblings, 1 reply; 4+ messages in thread
From: David Brownell @ 2009-01-27 23:45 UTC (permalink / raw)
  To: Tony Lindgren
  Cc: Russell King - ARM Linux, linux-omap-u79uwXL29TY76Z2rM5mHXA,
	linux-usb-u79uwXL29TY76Z2rM5mHXA

On Tuesday 27 January 2009, Tony Lindgren wrote:
> * Russell King - ARM Linux <linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org> [090127 14:50]:
> > Now that the usb_port_suspend() build error is fixed in 2.6.29-rc1-git6,
> > n770_defconfig and omap_apollon_2420_defconfig now suffers from:
> > 
> > drivers/built-in.o: In function `ohci_omap_init':
> > hid-quirks.c:(.text+0x6c620): undefined reference to `otg_get_transceiver'
> > drivers/built-in.o: In function `omap_udc_probe':
> > hid-quirks.c:(.init.text+0x34c0): undefined reference to `otg_get_transceiver'
> > hid-quirks.c:(.init.text+0x3d40): undefined reference to `otg_put_transceiver'
> 
> Adding linux-usb to the list hoping there's already a fix for this.

Scheduled for 2.6.29-soon:

http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6
	/gregkh-02-usb.current/usb-omap1-ohci-buildfix.patch



--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: 2.6.29-rc: remaining regression: n770_defconfig, omap_apollon_2420_defconfig
  2009-01-27 23:45       ` David Brownell
@ 2009-01-28  1:10         ` Kyungmin Park
  0 siblings, 0 replies; 4+ messages in thread
From: Kyungmin Park @ 2009-01-28  1:10 UTC (permalink / raw)
  To: dbrownell; +Cc: Tony Lindgren, Russell King - ARM Linux, linux-omap, linux-usb

Hi,

On Wed, Jan 28, 2009 at 8:45 AM, David Brownell <david-b@pacbell.net> wrote:
> On Tuesday 27 January 2009, Tony Lindgren wrote:
>> * Russell King - ARM Linux <linux@arm.linux.org.uk> [090127 14:50]:
>> > Now that the usb_port_suspend() build error is fixed in 2.6.29-rc1-git6,
>> > n770_defconfig and omap_apollon_2420_defconfig now suffers from:
>> >
>> > drivers/built-in.o: In function `ohci_omap_init':
>> > hid-quirks.c:(.text+0x6c620): undefined reference to `otg_get_transceiver'
>> > drivers/built-in.o: In function `omap_udc_probe':
>> > hid-quirks.c:(.init.text+0x34c0): undefined reference to `otg_get_transceiver'
>> > hid-quirks.c:(.init.text+0x3d40): undefined reference to `otg_put_transceiver'
>>
>> Adding linux-usb to the list hoping there's already a fix for this.
>
> Scheduled for 2.6.29-soon:
>
> http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6
>        /gregkh-02-usb.current/usb-omap1-ohci-buildfix.patch
>

Also need following patch in case of usb gadget only.

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
---
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index 3219d13..b26d6e6 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -191,6 +191,7 @@ config USB_GADGET_OMAP
 	boolean "OMAP USB Device Controller"
 	depends on ARCH_OMAP
 	select ISP1301_OMAP if MACH_OMAP_H2 || MACH_OMAP_H3 || MACH_OMAP_H4_OTG
+	select USB_OTG_UTILS if ARCH_OMAP
 	help
 	   Many Texas Instruments OMAP processors have flexible full
 	   speed USB device controllers, with support for up to 30

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

end of thread, other threads:[~2009-01-28  1:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-27 22:50 2.6.29-rc: remaining regression: n770_defconfig, omap_apollon_2420_defconfig Russell King - ARM Linux
     [not found] ` <20090127225000.GC639-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
2009-01-27 23:41   ` Tony Lindgren
     [not found]     ` <20090127234155.GI32148-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2009-01-27 23:45       ` David Brownell
2009-01-28  1:10         ` Kyungmin Park

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.