aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/pvrusb2/pvrusb2-hdw.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-hdw.c')
-rw-r--r--drivers/media/video/pvrusb2/pvrusb2-hdw.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw.c b/drivers/media/video/pvrusb2/pvrusb2-hdw.c
index eec83d6ae788..27b12b4b5c88 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-hdw.c
+++ b/drivers/media/video/pvrusb2/pvrusb2-hdw.c
@@ -3458,7 +3458,6 @@ int pvr2_hdw_register_access(struct pvr2_hdw *hdw,
3458 int setFl,u64 *val_ptr) 3458 int setFl,u64 *val_ptr)
3459{ 3459{
3460#ifdef CONFIG_VIDEO_ADV_DEBUG 3460#ifdef CONFIG_VIDEO_ADV_DEBUG
3461 struct list_head *item;
3462 struct pvr2_i2c_client *cp; 3461 struct pvr2_i2c_client *cp;
3463 struct v4l2_register req; 3462 struct v4l2_register req;
3464 int stat = 0; 3463 int stat = 0;
@@ -3471,8 +3470,7 @@ int pvr2_hdw_register_access(struct pvr2_hdw *hdw,
3471 req.reg = reg_id; 3470 req.reg = reg_id;
3472 if (setFl) req.val = *val_ptr; 3471 if (setFl) req.val = *val_ptr;
3473 mutex_lock(&hdw->i2c_list_lock); do { 3472 mutex_lock(&hdw->i2c_list_lock); do {
3474 list_for_each(item,&hdw->i2c_clients) { 3473 list_for_each_entry(cp, &hdw->i2c_clients, list) {
3475 cp = list_entry(item,struct pvr2_i2c_client,list);
3476 if (!v4l2_chip_match_i2c_client( 3474 if (!v4l2_chip_match_i2c_client(
3477 cp->client, 3475 cp->client,
3478 req.match_type, req.match_chip)) { 3476 req.match_type, req.match_chip)) {