~ubuntu-branches/ubuntu/quantal/linux-linaro-mx51/quantal

« back to all changes in this revision

Viewing changes to drivers/media/video/gspca/cpia1.c

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-3o58a3c1bj7x00rs
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
1262
1262
static void monitor_exposure(struct gspca_dev *gspca_dev)
1263
1263
{
1264
1264
        struct sd *sd = (struct sd *) gspca_dev;
1265
 
        u8 exp_acc, bcomp, gain, coarseL, cmd[8];
 
1265
        u8 exp_acc, bcomp, cmd[8];
1266
1266
        int ret, light_exp, dark_exp, very_dark_exp;
1267
1267
        int old_exposure, new_exposure, framerate;
1268
1268
        int setfps = 0, setexp = 0, setflicker = 0;
1284
1284
        }
1285
1285
        exp_acc = gspca_dev->usb_buf[0];
1286
1286
        bcomp = gspca_dev->usb_buf[1];
1287
 
        gain = gspca_dev->usb_buf[2];
1288
 
        coarseL = gspca_dev->usb_buf[3];
1289
1287
 
1290
1288
        light_exp = sd->params.colourParams.brightness +
1291
1289
                    TC - 50 + EXP_ACC_LIGHT;
1772
1770
/* this function is called at probe and resume time */
1773
1771
static int sd_init(struct gspca_dev *gspca_dev)
1774
1772
{
1775
 
#ifdef GSPCA_DEBUG
1776
1773
        struct sd *sd = (struct sd *) gspca_dev;
1777
 
#endif
1778
1774
        int ret;
1779
1775
 
1780
1776
        /* Start / Stop the camera to make sure we are talking to