diff options
| author | Mats Randgaard <mats.randgaard@tandberg.com> | 2010-05-05 06:50:38 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-19 11:59:02 -0400 |
| commit | 6fa7dac4b89af2839b69ea1f772fa73b03efdd6c (patch) | |
| tree | 359536ff3743618b880479e42fcce05da731ea1a | |
| parent | 37eb446499fe447c4b827ff7ba87106ced3782dd (diff) | |
V4L/DVB: tvp7002.c: fix some copy-paste errors in the comments
Signed-off-by: Mats Randgaard <mats.randgaard@tandberg.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
| -rw-r--r-- | drivers/media/video/tvp7002.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/drivers/media/video/tvp7002.c b/drivers/media/video/tvp7002.c index 6ebbf1759187..8085ac392446 100644 --- a/drivers/media/video/tvp7002.c +++ b/drivers/media/video/tvp7002.c | |||
| @@ -458,7 +458,7 @@ static inline struct tvp7002 *to_tvp7002(struct v4l2_subdev *sd) | |||
| 458 | /* | 458 | /* |
| 459 | * tvp7002_read - Read a value from a register in an TVP7002 | 459 | * tvp7002_read - Read a value from a register in an TVP7002 |
| 460 | * @sd: ptr to v4l2_subdev struct | 460 | * @sd: ptr to v4l2_subdev struct |
| 461 | * @reg: TVP7002 register address | 461 | * @addr: TVP7002 register address |
| 462 | * @dst: pointer to 8-bit destination | 462 | * @dst: pointer to 8-bit destination |
| 463 | * | 463 | * |
| 464 | * Returns value read if successful, or non-zero (-1) otherwise. | 464 | * Returns value read if successful, or non-zero (-1) otherwise. |
| @@ -488,7 +488,7 @@ static int tvp7002_read(struct v4l2_subdev *sd, u8 addr, u8 *dst) | |||
| 488 | * @sd: pointer to standard V4L2 sub-device structure | 488 | * @sd: pointer to standard V4L2 sub-device structure |
| 489 | * @reg: destination register | 489 | * @reg: destination register |
| 490 | * @val: value to be read | 490 | * @val: value to be read |
| 491 | * @error: pointer to error value | 491 | * @err: pointer to error value |
| 492 | * | 492 | * |
| 493 | * Read a value in a register and save error value in pointer. | 493 | * Read a value in a register and save error value in pointer. |
| 494 | * Also update the register table if successful | 494 | * Also update the register table if successful |
| @@ -535,7 +535,7 @@ static int tvp7002_write(struct v4l2_subdev *sd, u8 addr, u8 value) | |||
| 535 | * @sd: pointer to standard V4L2 sub-device structure | 535 | * @sd: pointer to standard V4L2 sub-device structure |
| 536 | * @reg: destination register | 536 | * @reg: destination register |
| 537 | * @val: value to be written | 537 | * @val: value to be written |
| 538 | * @error: pointer to error value | 538 | * @err: pointer to error value |
| 539 | * | 539 | * |
| 540 | * Write a value in a register and save error value in pointer. | 540 | * Write a value in a register and save error value in pointer. |
| 541 | * Also update the register table if successful | 541 | * Also update the register table if successful |
| @@ -596,7 +596,7 @@ static int tvp7002_write_inittab(struct v4l2_subdev *sd, | |||
| 596 | /* | 596 | /* |
| 597 | * tvp7002_s_dv_preset() - Set digital video preset | 597 | * tvp7002_s_dv_preset() - Set digital video preset |
| 598 | * @sd: ptr to v4l2_subdev struct | 598 | * @sd: ptr to v4l2_subdev struct |
| 599 | * @std: ptr to v4l2_dv_preset struct | 599 | * @dv_preset: ptr to v4l2_dv_preset struct |
| 600 | * | 600 | * |
| 601 | * Set the digital video preset for a TVP7002 decoder device. | 601 | * Set the digital video preset for a TVP7002 decoder device. |
| 602 | * Returns zero when successful or -EINVAL if register access fails. | 602 | * Returns zero when successful or -EINVAL if register access fails. |
| @@ -676,7 +676,7 @@ static int tvp7002_s_ctrl(struct v4l2_subdev *sd, struct v4l2_control *ctrl) | |||
| 676 | /* | 676 | /* |
| 677 | * tvp7002_queryctrl() - Query a control | 677 | * tvp7002_queryctrl() - Query a control |
| 678 | * @sd: ptr to v4l2_subdev struct | 678 | * @sd: ptr to v4l2_subdev struct |
| 679 | * @ctrl: ptr to v4l2_queryctrl struct | 679 | * @qc: ptr to v4l2_queryctrl struct |
| 680 | * | 680 | * |
| 681 | * Query a control of a TVP7002 decoder device. | 681 | * Query a control of a TVP7002 decoder device. |
| 682 | * Returns zero when successful or -EINVAL if register read fails. | 682 | * Returns zero when successful or -EINVAL if register read fails. |
| @@ -776,7 +776,7 @@ static int tvp7002_g_fmt(struct v4l2_subdev *sd, struct v4l2_format *f) | |||
| 776 | /* | 776 | /* |
| 777 | * tvp7002_query_dv_preset() - query DV preset | 777 | * tvp7002_query_dv_preset() - query DV preset |
| 778 | * @sd: pointer to standard V4L2 sub-device structure | 778 | * @sd: pointer to standard V4L2 sub-device structure |
| 779 | * @std_id: standard V4L2 v4l2_dv_preset | 779 | * @qpreset: standard V4L2 v4l2_dv_preset structure |
| 780 | * | 780 | * |
| 781 | * Returns the current DV preset by TVP7002. If no active input is | 781 | * Returns the current DV preset by TVP7002. If no active input is |
| 782 | * detected, returns -EINVAL | 782 | * detected, returns -EINVAL |
| @@ -846,7 +846,7 @@ static int tvp7002_query_dv_preset(struct v4l2_subdev *sd, | |||
| 846 | /* | 846 | /* |
| 847 | * tvp7002_g_register() - Get the value of a register | 847 | * tvp7002_g_register() - Get the value of a register |
| 848 | * @sd: ptr to v4l2_subdev struct | 848 | * @sd: ptr to v4l2_subdev struct |
| 849 | * @vreg: ptr to v4l2_dbg_register struct | 849 | * @reg: ptr to v4l2_dbg_register struct |
| 850 | * | 850 | * |
| 851 | * Get the value of a TVP7002 decoder device register. | 851 | * Get the value of a TVP7002 decoder device register. |
| 852 | * Returns zero when successful, -EINVAL if register read fails or | 852 | * Returns zero when successful, -EINVAL if register read fails or |
| @@ -873,7 +873,7 @@ static int tvp7002_g_register(struct v4l2_subdev *sd, | |||
| 873 | /* | 873 | /* |
| 874 | * tvp7002_s_register() - set a control | 874 | * tvp7002_s_register() - set a control |
| 875 | * @sd: ptr to v4l2_subdev struct | 875 | * @sd: ptr to v4l2_subdev struct |
| 876 | * @ctrl: ptr to v4l2_control struct | 876 | * @reg: ptr to v4l2_dbg_register struct |
| 877 | * | 877 | * |
| 878 | * Get the value of a TVP7002 decoder device register. | 878 | * Get the value of a TVP7002 decoder device register. |
| 879 | * Returns zero when successful, -EINVAL if register read fails or | 879 | * Returns zero when successful, -EINVAL if register read fails or |
| @@ -896,7 +896,7 @@ static int tvp7002_s_register(struct v4l2_subdev *sd, | |||
| 896 | /* | 896 | /* |
| 897 | * tvp7002_enum_fmt() - Enum supported formats | 897 | * tvp7002_enum_fmt() - Enum supported formats |
| 898 | * @sd: pointer to standard V4L2 sub-device structure | 898 | * @sd: pointer to standard V4L2 sub-device structure |
| 899 | * @enable: pointer to format struct | 899 | * @fmtdesc: pointer to format struct |
| 900 | * | 900 | * |
| 901 | * Enumerate supported formats. | 901 | * Enumerate supported formats. |
| 902 | */ | 902 | */ |
| @@ -1057,8 +1057,8 @@ static struct tvp7002 tvp7002_dev = { | |||
| 1057 | 1057 | ||
| 1058 | /* | 1058 | /* |
| 1059 | * tvp7002_probe - Probe a TVP7002 device | 1059 | * tvp7002_probe - Probe a TVP7002 device |
| 1060 | * @sd: ptr to v4l2_subdev struct | 1060 | * @c: ptr to i2c_client struct |
| 1061 | * @ctrl: ptr to i2c_device_id struct | 1061 | * @id: ptr to i2c_device_id struct |
| 1062 | * | 1062 | * |
| 1063 | * Initialize the TVP7002 device | 1063 | * Initialize the TVP7002 device |
| 1064 | * Returns zero when successful, -EINVAL if register read fails or | 1064 | * Returns zero when successful, -EINVAL if register read fails or |
