summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx18/cx18-ioctl.c
diff options
context:
space:
mode:
authorAndy Walls <awalls@radix.net>2009-02-21 16:42:49 -0500
committerAndy Walls <awalls@radix.net>2009-02-21 16:42:49 -0500
commit97800678699828bf555a960d89f4737c4fc6dad2 (patch)
tree568eb93b4cb52b63d35daf765f1b082e7161aadb /linux/drivers/media/video/cx18/cx18-ioctl.c
parentaf250d9d7ee1d59300fc58e15fff19593e7e925f (diff)
downloadmediapointer-dvb-s2-97800678699828bf555a960d89f4737c4fc6dad2.tar.gz
mediapointer-dvb-s2-97800678699828bf555a960d89f4737c4fc6dad2.tar.bz2
cx18: Convert GPIO connected functions to act as v4l2_subdevices
From: Andy Walls <awalls@radix.net> Convert GPIO line functions, such a audio routing and device resets, to v4l2_subdevices. This essentially completes the conversion of cx18 to the v4l2_device/v4l2_subdevice framework. No regression testing has taken place as of yet. Also an ivtv legacy bug with GPIO mux routing and going to/from radio mode was commented, but not fixed. Priority: normal Signed-off-by: Andy Walls <awalls@radix.net>
Diffstat (limited to 'linux/drivers/media/video/cx18/cx18-ioctl.c')
-rw-r--r--linux/drivers/media/video/cx18/cx18-ioctl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx18/cx18-ioctl.c b/linux/drivers/media/video/cx18/cx18-ioctl.c
index 551daf47c..c7e85f879 100644
--- a/linux/drivers/media/video/cx18/cx18-ioctl.c
+++ b/linux/drivers/media/video/cx18/cx18-ioctl.c
@@ -965,7 +965,8 @@ static long cx18_default(struct file *file, void *fh, int cmd, void *arg)
u32 val = *(u32 *)arg;
if ((val == 0) || (val & 0x01))
- cx18_reset_ir_gpio(&cx->i2c_algo_cb_data[0]);
+ cx18_call_hw(cx, CX18_HW_GPIO_RESET_CTRL, core, reset,
+ (u32) CX18_GPIO_RESET_Z8F0811);
break;
}