V4L/DVB (6384): Replace TDA9887_SET_CONFIG by TUNER_SET_CONFIG
authorMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 18 Oct 2007 22:56:47 +0000 (19:56 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:00:54 +0000 (19:00 -0200)
commit7f1711234e6a21c153e892758d9d82c333ab37ac
tree19281fdae9f51a25c119dccf54515192614b242f
parent2d94dfc8c38edf63e91e48fd55c3a8822b6a9ced
V4L/DVB (6384): Replace TDA9887_SET_CONFIG by TUNER_SET_CONFIG

Currently, the only tuner-specific device that allows special
configurations is tda9887. However, tea5767 also may require some
special configurations (for example, to specify a different Xtal freq).

This patch replaces TDA9887_SET_CONFIG by a more generic internal ioctl
(TUNER_SET_CONFIG). The newer one allows specifying what tuner is
appliable to a configuration set, and allows an arbitrary configuration
struct.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
13 files changed:
drivers/media/dvb/dvb-core/dvb_frontend.h
drivers/media/video/bt8xx/bttv-cards.c
drivers/media/video/cx88/cx88-i2c.c
drivers/media/video/em28xx/em28xx-i2c.c
drivers/media/video/em28xx/em28xx-video.c
drivers/media/video/saa7134/saa7134-cards.c
drivers/media/video/saa7134/saa7134-dvb.c
drivers/media/video/saa7134/saa7134-i2c.c
drivers/media/video/saa7134/saa7134-video.c
drivers/media/video/tuner-core.c
drivers/media/video/tuner-simple.c
drivers/media/video/v4l2-common.c
include/media/v4l2-common.h