V4L: em28xx: set up tda9887_conf in em28xx_card_setup()

From: Franklin Meng <fmeng2...@yahoo.com>

Added tda9887_conf set up into em28xx_card_setup()

Signed-off-by: Franklin Meng <fmeng2...@yahoo.com>
Signed-off-by: Douglas Schilling Landgraf <dougsl...@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mche...@redhat.com>
Tested-by: Larry Finger <larry.fin...@lwfinger.net>
Signed-off-by: Michael Krufky <mkru...@linuxtv.org>
(cherry picked from commit ae3340cbf59ea362c2016eea762456cc0969fd9e)
---
 drivers/media/video/em28xx/em28xx-cards.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/drivers/media/video/em28xx/em28xx-cards.c
b/drivers/media/video/em28xx/em28xx-cards.c
index 7c70738..168e892 100644
--- a/drivers/media/video/em28xx/em28xx-cards.c
+++ b/drivers/media/video/em28xx/em28xx-cards.c
@@ -1886,6 +1886,9 @@ void em28xx_card_setup(struct em28xx *dev)
        if (em28xx_boards[dev->model].tuner_addr)
                dev->tuner_addr = em28xx_boards[dev->model].tuner_addr;

+       if (em28xx_boards[dev->model].tda9887_conf)
+               dev->tda9887_conf = em28xx_boards[dev->model].tda9887_conf;
+
        /* request some modules */
        switch (dev->model) {
        case EM2820_BOARD_HAUPPAUGE_WINTV_USB_2:
-- 
1.6.0.4
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to