aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx25840/cx25840-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/cx25840/cx25840-core.c')
-rw-r--r--drivers/media/video/cx25840/cx25840-core.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/video/cx25840/cx25840-core.c b/drivers/media/video/cx25840/cx25840-core.c
index 6d2ca822a63..0d3d24aff50 100644
--- a/drivers/media/video/cx25840/cx25840-core.c
+++ b/drivers/media/video/cx25840/cx25840-core.c
@@ -73,10 +73,10 @@ int cx25840_write4(struct i2c_client *client, u16 addr, u32 value)
73 u8 buffer[6]; 73 u8 buffer[6];
74 buffer[0] = addr >> 8; 74 buffer[0] = addr >> 8;
75 buffer[1] = addr & 0xff; 75 buffer[1] = addr & 0xff;
76 buffer[2] = value >> 24; 76 buffer[2] = value & 0xff;
77 buffer[3] = (value >> 16) & 0xff; 77 buffer[3] = (value >> 8) & 0xff;
78 buffer[4] = (value >> 8) & 0xff; 78 buffer[4] = (value >> 16) & 0xff;
79 buffer[5] = value & 0xff; 79 buffer[5] = value >> 24;
80 return i2c_master_send(client, buffer, 6); 80 return i2c_master_send(client, buffer, 6);
81} 81}
82 82