linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] media:
       [not found] <20130408174343.cc13eb1972470d20d38ecff1@canb.auug.org.au>
@ 2013-04-08 17:47 ` Randy Dunlap
  2013-04-09 18:46   ` Antti Palosaari
  0 siblings, 1 reply; 5+ messages in thread
From: Randy Dunlap @ 2013-04-08 17:47 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: linux-next, linux-kernel, linux-media, Mauro Carvalho Chehab,
	Antti Palosaari

From: Randy Dunlap <rdunlap@infradead.org>

Fix randconfig error when USB is not enabled:

ERROR: "usb_control_msg" [drivers/media/common/cypress_firmware.ko] undefined!

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Antti Palosaari <crope@iki.fi>
---
 drivers/media/common/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- linux-next-20130408.orig/drivers/media/common/Kconfig
+++ linux-next-20130408/drivers/media/common/Kconfig
@@ -18,6 +18,7 @@ config VIDEO_TVEEPROM
 
 config CYPRESS_FIRMWARE
 	tristate "Cypress firmware helper routines"
+	depends on USB
 
 source "drivers/media/common/b2c2/Kconfig"
 source "drivers/media/common/saa7146/Kconfig"

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

* Re: [PATCH -next] media:
  2013-04-08 17:47 ` [PATCH -next] media: Randy Dunlap
@ 2013-04-09 18:46   ` Antti Palosaari
  2013-04-16  3:10     ` David Rientjes
  0 siblings, 1 reply; 5+ messages in thread
From: Antti Palosaari @ 2013-04-09 18:46 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: Stephen Rothwell, linux-next, linux-kernel, linux-media,
	Mauro Carvalho Chehab, Hans Verkuil

On 04/08/2013 08:47 PM, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@infradead.org>
>
> Fix randconfig error when USB is not enabled:
>
> ERROR: "usb_control_msg" [drivers/media/common/cypress_firmware.ko] undefined!
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Antti Palosaari <crope@iki.fi>

Reviewed-by: Antti Palosaari <crope@iki.fi>


> ---
>   drivers/media/common/Kconfig |    1 +
>   1 file changed, 1 insertion(+)
>
> --- linux-next-20130408.orig/drivers/media/common/Kconfig
> +++ linux-next-20130408/drivers/media/common/Kconfig
> @@ -18,6 +18,7 @@ config VIDEO_TVEEPROM
>
>   config CYPRESS_FIRMWARE
>   	tristate "Cypress firmware helper routines"
> +	depends on USB
>
>   source "drivers/media/common/b2c2/Kconfig"
>   source "drivers/media/common/saa7146/Kconfig"
>


-- 
http://palosaari.fi/

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

* Re: [PATCH -next] media:
  2013-04-09 18:46   ` Antti Palosaari
@ 2013-04-16  3:10     ` David Rientjes
  2013-04-16  9:12       ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 5+ messages in thread
From: David Rientjes @ 2013-04-16  3:10 UTC (permalink / raw)
  To: Antti Palosaari, Mauro Carvalho Chehab
  Cc: Randy Dunlap, Stephen Rothwell, linux-next, linux-kernel,
	linux-media, Hans Verkuil

On Tue, 9 Apr 2013, Antti Palosaari wrote:

> On 04/08/2013 08:47 PM, Randy Dunlap wrote:
> > From: Randy Dunlap <rdunlap@infradead.org>
> > 
> > Fix randconfig error when USB is not enabled:
> > 
> > ERROR: "usb_control_msg" [drivers/media/common/cypress_firmware.ko]
> > undefined!
> > 
> > Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> > Cc: Antti Palosaari <crope@iki.fi>
> 
> Reviewed-by: Antti Palosaari <crope@iki.fi>
> 
> 
> > ---
> >   drivers/media/common/Kconfig |    1 +
> >   1 file changed, 1 insertion(+)
> > 
> > --- linux-next-20130408.orig/drivers/media/common/Kconfig
> > +++ linux-next-20130408/drivers/media/common/Kconfig
> > @@ -18,6 +18,7 @@ config VIDEO_TVEEPROM
> > 
> >   config CYPRESS_FIRMWARE
> >   	tristate "Cypress firmware helper routines"
> > +	depends on USB
> > 
> >   source "drivers/media/common/b2c2/Kconfig"
> >   source "drivers/media/common/saa7146/Kconfig"
> > 

Mauro, this problem persists in linux-next seven days later, any chance we 
can get this fix from Randy merged?

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

* Re: [PATCH -next] media:
  2013-04-16  3:10     ` David Rientjes
@ 2013-04-16  9:12       ` Mauro Carvalho Chehab
  2013-04-16 15:33         ` [PATCH -next] staging/media: fix go7007 dependencies and build Randy Dunlap
  0 siblings, 1 reply; 5+ messages in thread
From: Mauro Carvalho Chehab @ 2013-04-16  9:12 UTC (permalink / raw)
  To: David Rientjes
  Cc: Antti Palosaari, Randy Dunlap, Stephen Rothwell, linux-next,
	linux-kernel, linux-media, Hans Verkuil

Em Mon, 15 Apr 2013 20:10:49 -0700 (PDT)
David Rientjes <rientjes@google.com> escreveu:

> On Tue, 9 Apr 2013, Antti Palosaari wrote:
> 
> > On 04/08/2013 08:47 PM, Randy Dunlap wrote:
> > > From: Randy Dunlap <rdunlap@infradead.org>
> > > 
> > > Fix randconfig error when USB is not enabled:
> > > 
> > > ERROR: "usb_control_msg" [drivers/media/common/cypress_firmware.ko]
> > > undefined!
> > > 
> > > Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> > > Cc: Antti Palosaari <crope@iki.fi>
> > 
> > Reviewed-by: Antti Palosaari <crope@iki.fi>
> > 
> > 
> > > ---
> > >   drivers/media/common/Kconfig |    1 +
> > >   1 file changed, 1 insertion(+)
> > > 
> > > --- linux-next-20130408.orig/drivers/media/common/Kconfig
> > > +++ linux-next-20130408/drivers/media/common/Kconfig
> > > @@ -18,6 +18,7 @@ config VIDEO_TVEEPROM
> > > 
> > >   config CYPRESS_FIRMWARE
> > >   	tristate "Cypress firmware helper routines"
> > > +	depends on USB
> > > 
> > >   source "drivers/media/common/b2c2/Kconfig"
> > >   source "drivers/media/common/saa7146/Kconfig"
> > > 
> 
> Mauro, this problem persists in linux-next seven days later, any chance we 
> can get this fix from Randy merged?

AFAIKT, this got merged at -next already:

commit 7c15b715ef301a7f8bb2dc8de335497ffde568a6
Author:     Randy Dunlap <rdunlap@infradead.org>
AuthorDate: Mon Apr 8 13:47:03 2013 -0300
Commit:     Mauro Carvalho Chehab <mchehab@redhat.com>
CommitDate: Sun Apr 14 20:04:08 2013 -0300

    [media] media: Fix randconfig error
    
    Fix randconfig error when USB is not enabled:
    ERROR: "usb_control_msg" [drivers/media/common/cypress_firmware.ko] undefined!
    
    Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
    Reviewed-by: Antti Palosaari <crope@iki.fi>
    Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

Regards,
Mauro

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

* [PATCH -next] staging/media: fix go7007 dependencies and build
  2013-04-16  9:12       ` Mauro Carvalho Chehab
@ 2013-04-16 15:33         ` Randy Dunlap
  0 siblings, 0 replies; 5+ messages in thread
From: Randy Dunlap @ 2013-04-16 15:33 UTC (permalink / raw)
  To: Mauro Carvalho Chehab
  Cc: David Rientjes, Antti Palosaari, Stephen Rothwell, linux-next,
	linux-kernel, linux-media, Hans Verkuil

From: Randy Dunlap <rdunlap@infradead.org>

VIDEO_GO7007 uses usb interfaces so it should depend on USB.
It also selects CYPRESS_FIRMWARE, which depends on USB.

Fixes build errors and a kconfig warning:

go7007-loader.c:(.text+0xcc7d0): undefined reference to `usb_get_dev'
go7007-loader.c:(.init.text+0x49f0): undefined reference to `usb_register_driver'
go7007-loader.c:(.exit.text+0x17ce): undefined reference to `usb_deregister'

warning: (DVB_USB_AZ6007 && VIDEO_GO7007) selects CYPRESS_FIRMWARE which has unmet direct dependencies (MEDIA_SUPPORT && USB)

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
 drivers/staging/media/go7007/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20130416.orig/drivers/staging/media/go7007/Kconfig
+++ linux-next-20130416/drivers/staging/media/go7007/Kconfig
@@ -1,7 +1,7 @@
 config VIDEO_GO7007
 	tristate "WIS GO7007 MPEG encoder support"
 	depends on VIDEO_DEV && I2C
-	depends on SND
+	depends on SND && USB
 	select VIDEOBUF2_VMALLOC
 	select VIDEO_TUNER
 	select CYPRESS_FIRMWARE

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

end of thread, other threads:[~2013-04-16 15:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20130408174343.cc13eb1972470d20d38ecff1@canb.auug.org.au>
2013-04-08 17:47 ` [PATCH -next] media: Randy Dunlap
2013-04-09 18:46   ` Antti Palosaari
2013-04-16  3:10     ` David Rientjes
2013-04-16  9:12       ` Mauro Carvalho Chehab
2013-04-16 15:33         ` [PATCH -next] staging/media: fix go7007 dependencies and build Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).