diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2007-01-22 00:17:55 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-02-21 10:35:11 -0500 |
commit | 8d3643637e18e6590969436734c22151805d0350 (patch) | |
tree | f6e52e9c6a2fc2de43f6ac14967e08aee2b92ce8 /drivers/media/video/pvrusb2/pvrusb2-v4l2.c | |
parent | 05ad390724d1f307111a322325df83282a1479e6 (diff) |
V4L/DVB (5169): Pvrusb2: Use macro names for FX2 commands
This is a maintainability cleanup; use nice names for all the FX2
commands instead of raw bytes. This way we can easily find where we
issue FX commands.
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-v4l2.c')
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-v4l2.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-v4l2.c b/drivers/media/video/pvrusb2/pvrusb2-v4l2.c index cde5f5f3e8f2..024b6d80ea0a 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-v4l2.c +++ b/drivers/media/video/pvrusb2/pvrusb2-v4l2.c | |||
@@ -366,8 +366,7 @@ static int pvr2_v4l2_do_ioctl(struct inode *inode, struct file *file, | |||
366 | { | 366 | { |
367 | struct v4l2_tuner *vt = (struct v4l2_tuner *)arg; | 367 | struct v4l2_tuner *vt = (struct v4l2_tuner *)arg; |
368 | 368 | ||
369 | if (vt->index != 0) | 369 | if (vt->index != 0) break; /* Only answer for the 1st tuner */ |
370 | break; | ||
371 | 370 | ||
372 | pvr2_hdw_execute_tuner_poll(hdw); | 371 | pvr2_hdw_execute_tuner_poll(hdw); |
373 | ret = pvr2_hdw_get_tuner_status(hdw,vt); | 372 | ret = pvr2_hdw_get_tuner_status(hdw,vt); |