diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2010-06-27 05:07:26 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-08-08 22:43:06 -0400 |
commit | f7b80e6919df812b4bed99a927325312a904111b (patch) | |
tree | 6828bb6bfeea81a8345b148dbca8b2fdcadec7eb /drivers/media/video/ivtv/ivtv-firmware.c | |
parent | 2fd781448acd6cbc3ca9d2f48b0e16f67a77bf51 (diff) |
V4L/DVB: ivtv: convert to the new control framework
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-firmware.c')
-rw-r--r-- | drivers/media/video/ivtv/ivtv-firmware.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/ivtv/ivtv-firmware.c b/drivers/media/video/ivtv/ivtv-firmware.c index d8bf2b01729d..4df01947a7df 100644 --- a/drivers/media/video/ivtv/ivtv-firmware.c +++ b/drivers/media/video/ivtv/ivtv-firmware.c | |||
@@ -248,9 +248,9 @@ void ivtv_init_mpeg_decoder(struct ivtv *itv) | |||
248 | volatile u8 __iomem *mem_offset; | 248 | volatile u8 __iomem *mem_offset; |
249 | 249 | ||
250 | data[0] = 0; | 250 | data[0] = 0; |
251 | data[1] = itv->params.width; /* YUV source width */ | 251 | data[1] = itv->cxhdl.width; /* YUV source width */ |
252 | data[2] = itv->params.height; | 252 | data[2] = itv->cxhdl.height; |
253 | data[3] = itv->params.audio_properties; /* Audio settings to use, | 253 | data[3] = itv->cxhdl.audio_properties; /* Audio settings to use, |
254 | bitmap. see docs. */ | 254 | bitmap. see docs. */ |
255 | if (ivtv_api(itv, CX2341X_DEC_SET_DECODER_SOURCE, 4, data)) { | 255 | if (ivtv_api(itv, CX2341X_DEC_SET_DECODER_SOURCE, 4, data)) { |
256 | IVTV_ERR("ivtv_init_mpeg_decoder failed to set decoder source\n"); | 256 | IVTV_ERR("ivtv_init_mpeg_decoder failed to set decoder source\n"); |