V4L/DVB: cx25840/ivtv: replace ugly priv control with s_config
authorHans Verkuil <hverkuil@xs4all.nl>
Fri, 6 Aug 2010 13:53:19 +0000 (10:53 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 9 Aug 2010 02:43:05 +0000 (23:43 -0300)
commit72c851b00f6c86353c54fdd9f1ef88d82e8df6c5
treedc6a86897e06b9ad5b576ef5d75a3c5ddab9815b
parent59b8311a9b4cdd3e11d1c7d434bb9abf1ae3bc5c
V4L/DVB: cx25840/ivtv: replace ugly priv control with s_config

The cx25840 used a private control CX25840_CID_ENABLE_PVR150_WORKAROUND
to be told whether to enable a workaround for certain pvr150 cards.

This is really config data that it needs to get at load time.

Implemented this in cx25840 and ivtv.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx25840/cx25840-core.c
drivers/media/video/cx25840/cx25840-core.h
drivers/media/video/ivtv/ivtv-driver.c
drivers/media/video/ivtv/ivtv-i2c.c
include/media/cx25840.h