Browse Source

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>
Mike Isely 16 years ago
parent
commit
be4f4aecf8
1 changed files with 1 additions and 2 deletions
  1. 1 2
      drivers/media/video/pvrusb2/pvrusb2-hdw.h

+ 1 - 2
drivers/media/video/pvrusb2/pvrusb2-hdw.h

@@ -239,8 +239,7 @@ void pvr2_hdw_v4l_store_minor_number(struct pvr2_hdw *,
 				     enum pvr2_v4l_type index,int);
 				     enum pvr2_v4l_type index,int);
 
 
 /* Direct read/write access to chip's registers:
 /* Direct read/write access to chip's registers:
-   match_type - how to interpret match_chip (e.g. driver ID, i2c address)
-   match_chip - chip match value (e.g. I2C_DRIVERD_xxxx)
+   match - specify criteria to identify target chip (this is a v4l dbg struct)
    reg_id  - register number to access
    reg_id  - register number to access
    setFl   - true to set the register, false to read it
    setFl   - true to set the register, false to read it
    val_ptr - storage location for source / result. */
    val_ptr - storage location for source / result. */