diff options
author | Jean-François Moine <moinejf@free.fr> | 2010-10-02 04:27:02 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-21 01:18:28 -0200 |
commit | 62833acd7d3328d17d18f595b4b074865bf1b7f2 (patch) | |
tree | 2bc3466f04dcaa2924ab60474c25e3c8911db023 /drivers/media/video/gspca/w996Xcf.c | |
parent | 016f2362278b1f235223b12744585676be2a89a7 (diff) | |
download | lwn-62833acd7d3328d17d18f595b4b074865bf1b7f2.tar.gz lwn-62833acd7d3328d17d18f595b4b074865bf1b7f2.zip |
[media] gspca - ov519: Use the new video control mechanism
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/w996Xcf.c')
-rw-r--r-- | drivers/media/video/gspca/w996Xcf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/w996Xcf.c b/drivers/media/video/gspca/w996Xcf.c index 1c6c89419577..d070c7ffbfa9 100644 --- a/drivers/media/video/gspca/w996Xcf.c +++ b/drivers/media/video/gspca/w996Xcf.c @@ -437,7 +437,7 @@ static int w9968cf_set_crop_window(struct sd *sd) if (sd->sensor == SEN_OV7620) { /* Sigh, this is dependend on the clock / framerate changes made by the frequency control, sick. */ - if (sd->freq == 1) { + if (sd->ctrls[FREQ].val == 1) { start_cropx = 277; start_cropy = 37; } else { |