sunplus.c (e5451c8f8330e03ad3cfa16048b4daf961af434f) | sunplus.c (1ddc9f75a4c95dd284cd33783b72ed0ae4709a09) |
---|---|
1/* 2 * Sunplus spca504(abc) spca533 spca536 library 3 * Copyright (C) 2005 Michel Xhaard mxhaard@magic.fr 4 * 5 * V4L2 by Jean-Francois Moine <http://moinejf.free.fr> 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by --- 354 unchanged lines hidden (view full) --- 363 if (gspca_debug < D_STREAM) 364 return; 365 366 for (i = 0; i < 6; i++) { 367 reg_r(gspca_dev, 0, i, 1); 368 info[i] = gspca_dev->usb_buf[0]; 369 } 370 PDEBUG(D_STREAM, | 1/* 2 * Sunplus spca504(abc) spca533 spca536 library 3 * Copyright (C) 2005 Michel Xhaard mxhaard@magic.fr 4 * 5 * V4L2 by Jean-Francois Moine <http://moinejf.free.fr> 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by --- 354 unchanged lines hidden (view full) --- 363 if (gspca_debug < D_STREAM) 364 return; 365 366 for (i = 0; i < 6; i++) { 367 reg_r(gspca_dev, 0, i, 1); 368 info[i] = gspca_dev->usb_buf[0]; 369 } 370 PDEBUG(D_STREAM, |
371 "Read info: %d %d %d %d %d %d." 372 " Should be 1,0,2,2,0,0", | 371 "Read info: %d %d %d %d %d %d. Should be 1,0,2,2,0,0", |
373 info[0], info[1], info[2], 374 info[3], info[4], info[5]); 375} 376 377static void spca504A_acknowledged_command(struct gspca_dev *gspca_dev, 378 u8 req, 379 u16 idx, u16 val, u8 endcode, u8 count) 380{ --- 696 unchanged lines hidden --- | 372 info[0], info[1], info[2], 373 info[3], info[4], info[5]); 374} 375 376static void spca504A_acknowledged_command(struct gspca_dev *gspca_dev, 377 u8 req, 378 u16 idx, u16 val, u8 endcode, u8 count) 379{ --- 696 unchanged lines hidden --- |