summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/gspca/m5602
diff options
context:
space:
mode:
authorErik Andrén <erik.andren@gmail.com>2009-01-21 17:14:07 +0100
committerErik Andrén <erik.andren@gmail.com>2009-01-21 17:14:07 +0100
commit9da3a585b1a8a8ce9a6ec4bf2ebc810b7cd43b67 (patch)
tree344f26678af5ef5ee3c4e8fbeb02f30398b87429 /linux/drivers/media/video/gspca/m5602
parent2a5c5c2419b9efc9525275c4bfb3f426c3e362e9 (diff)
downloadmediapointer-dvb-s2-9da3a585b1a8a8ce9a6ec4bf2ebc810b7cd43b67.tar.gz
mediapointer-dvb-s2-9da3a585b1a8a8ce9a6ec4bf2ebc810b7cd43b67.tar.bz2
gspca - m5602-s5k83a: Set the sensor_settings pointer correctly
From: Lukas Karas <lukas.karas@centrum.cz> Priority: normal Signed-off-by: Lukas Karas <lukas.karas@centrum.cz> Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Diffstat (limited to 'linux/drivers/media/video/gspca/m5602')
-rw-r--r--linux/drivers/media/video/gspca/m5602/m5602_s5k83a.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/video/gspca/m5602/m5602_s5k83a.c b/linux/drivers/media/video/gspca/m5602/m5602_s5k83a.c
index 118ec8f8c..942030fd0 100644
--- a/linux/drivers/media/video/gspca/m5602/m5602_s5k83a.c
+++ b/linux/drivers/media/video/gspca/m5602/m5602_s5k83a.c
@@ -199,7 +199,8 @@ sensor_found:
int s5k83a_init(struct sd *sd)
{
int i, err = 0;
- s32 *sensor_settings = sd->sensor_priv;
+ s32 *sensor_settings =
+ ((struct s5k83a_priv *) sd->sensor_priv)->settings;
for (i = 0; i < ARRAY_SIZE(init_s5k83a) && !err; i++) {
u8 data[2] = {0x00, 0x00};