pac207.c (e5451c8f8330e03ad3cfa16048b4daf961af434f) pac207.c (1ddc9f75a4c95dd284cd33783b72ed0ae4709a09)
1/*
2 * Pixart PAC207BCA library
3 *
4 * Copyright (C) 2008 Hans de Goede <hdegoede@redhat.com>
5 * Copyright (C) 2005 Thomas Kaiser thomas@kaiser-linux.li
6 * Copyleft (C) 2005 Michel Xhaard mxhaard@magic.fr
7 *
8 * V4L2 by Jean-Francois Moine <http://moinejf.free.fr>

--- 165 unchanged lines hidden (view full) ---

174 idreg[0], idreg[1]);
175
176 if (idreg[0] != 0x27) {
177 PDEBUG(D_PROBE, "Error invalid sensor ID!");
178 return -ENODEV;
179 }
180
181 PDEBUG(D_PROBE,
1/*
2 * Pixart PAC207BCA library
3 *
4 * Copyright (C) 2008 Hans de Goede <hdegoede@redhat.com>
5 * Copyright (C) 2005 Thomas Kaiser thomas@kaiser-linux.li
6 * Copyleft (C) 2005 Michel Xhaard mxhaard@magic.fr
7 *
8 * V4L2 by Jean-Francois Moine <http://moinejf.free.fr>

--- 165 unchanged lines hidden (view full) ---

174 idreg[0], idreg[1]);
175
176 if (idreg[0] != 0x27) {
177 PDEBUG(D_PROBE, "Error invalid sensor ID!");
178 return -ENODEV;
179 }
180
181 PDEBUG(D_PROBE,
182 "Pixart PAC207BCA Image Processor and Control Chip detected"
183 " (vid/pid 0x%04X:0x%04X)", id->idVendor, id->idProduct);
182 "Pixart PAC207BCA Image Processor and Control Chip detected (vid/pid 0x%04X:0x%04X)",
183 id->idVendor, id->idProduct);
184
185 cam = &gspca_dev->cam;
186 cam->cam_mode = sif_mode;
187 cam->nmodes = ARRAY_SIZE(sif_mode);
188
189 return 0;
190}
191

--- 298 unchanged lines hidden ---
184
185 cam = &gspca_dev->cam;
186 cam->cam_mode = sif_mode;
187 cam->nmodes = ARRAY_SIZE(sif_mode);
188
189 return 0;
190}
191

--- 298 unchanged lines hidden ---