aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2009-01-14 02:40:57 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 11:42:22 -0400
commitbe4f4aecf8df39444535c9d9be2b74a8f34649b2 (patch)
tree24e6553e4bdf11c315d855800c1b7c5bc1e7d1b7 /drivers/media/video
parent730e92c9acfab4f577c65c112a6d14ad9d3d02ba (diff)
V4L/DVB (10239): pvrusb2: Fix misleading comment caused by earlier commit
Previous v4l-dvb changeset id 4cc8ed11e2e0 changed the pvrusb2-hdw internal API regarding i2c chip debug register access. However that change failed to also update the corresponding function comment describing the API. As driver maintained I never saw a request for an ack on that change; there probably should have been one especially since the manner in which this API operates was changed - its interface is now entangled with a v4l specific struct and I would have preferred to keep this API clear of moving-target v4l-isms such as this one if at all possible which is why I had done it the way I did before. But whatever. This commit at least fixes the comment issue. Signed-off-by: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video')
-rw-r--r--drivers/media/video/pvrusb2/pvrusb2-hdw.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw.h b/drivers/media/video/pvrusb2/pvrusb2-hdw.h
index a40f84588cd6..7b6940554e9a 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-hdw.h
+++ b/drivers/media/video/pvrusb2/pvrusb2-hdw.h
@@ -239,8 +239,7 @@ void pvr2_hdw_v4l_store_minor_number(struct pvr2_hdw *,
239 enum pvr2_v4l_type index,int); 239 enum pvr2_v4l_type index,int);
240 240
241/* Direct read/write access to chip's registers: 241/* Direct read/write access to chip's registers:
242 match_type - how to interpret match_chip (e.g. driver ID, i2c address) 242 match - specify criteria to identify target chip (this is a v4l dbg struct)
243 match_chip - chip match value (e.g. I2C_DRIVERD_xxxx)
244 reg_id - register number to access 243 reg_id - register number to access
245 setFl - true to set the register, false to read it 244 setFl - true to set the register, false to read it
246 val_ptr - storage location for source / result. */ 245 val_ptr - storage location for source / result. */