[PATCH] V4L: Link tuner before saa7134

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <v4l-dvb-maintainer@...>
Cc: hermann pitton <hermann-pitton@...>, Linux DVB <linux-dvb@...>, Linux Kernel Mailing List <linux-kernel@...>
Date: Tuesday, July 15, 2008 - 5:40 pm

If saa7134_init is run before v4l2_i2c_drv_init (tuner),
then saa7134_board_init2 will try to set the tuner type
for devices that don't exist yet. This moves tuner to
before all of the device-specific drivers so that it's
loaded early enough on boot.

Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
---
Resend... I accidentally left the git-send-email headers in.

Mailman appears to be easily confused too: 
http://www.linuxtv.org/pipermail/linux-dvb/2008-July/027205.html

 drivers/media/video/Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/media/video/Makefile b/drivers/media/video/Makefile
index ecbbfaa..6b0af12 100644
--- a/drivers/media/video/Makefile
+++ b/drivers/media/video/Makefile
@@ -18,6 +18,8 @@ ifeq ($(CONFIG_VIDEO_V4L1_COMPAT),y)
   obj-$(CONFIG_VIDEO_DEV) += v4l1-compat.o
 endif
 
+obj-$(CONFIG_VIDEO_TUNER) += tuner.o
+
 obj-$(CONFIG_VIDEO_BT848) += bt8xx/
 obj-$(CONFIG_VIDEO_IR_I2C)  += ir-kbd-i2c.o
 obj-$(CONFIG_VIDEO_TVAUDIO) += tvaudio.o
@@ -84,8 +86,6 @@ obj-$(CONFIG_VIDEO_HEXIUM_GEMINI) += hexium_gemini.o
 obj-$(CONFIG_VIDEO_DPC) += dpc7146.o
 obj-$(CONFIG_TUNER_3036) += tuner-3036.o
 
-obj-$(CONFIG_VIDEO_TUNER) += tuner.o
-
 obj-$(CONFIG_VIDEOBUF_GEN) += videobuf-core.o
 obj-$(CONFIG_VIDEOBUF_DMA_SG) += videobuf-dma-sg.o
 obj-$(CONFIG_VIDEOBUF_VMALLOC) += videobuf-vmalloc.o
-- 
1.5.6.2

-- 
Simon Arlott

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
bug: saa7134_init run before v4l2_i2c_drv_init, Simon Arlott, (Sat Jul 12, 2:08 pm)
[PATCH] V4L: Link tuner before saa7134, Simon Arlott, (Tue Jul 15, 5:40 pm)
Re: [PATCH] V4L: Link tuner before saa7134, hermann pitton, (Tue Jul 15, 7:12 pm)
[PATCH] V4L: Link tuner before saa7134, Simon Arlott, (Sun Jul 13, 2:32 pm)
Re: [PATCH] V4L: Link tuner before saa7134, hermann pitton, (Sun Jul 13, 10:48 pm)
Re: [PATCH] V4L: Link tuner before saa7134, Simon Arlott, (Mon Jul 14, 7:40 am)
Re: [PATCH] V4L: Link tuner before saa7134, hermann pitton, (Mon Jul 14, 10:09 pm)