D | stk1135.c | 51 if (gspca_dev->usb_err < 0) in reg_r() 52 return 0; in reg_r() 53 ret = usb_control_msg(dev, usb_rcvctrlpipe(dev, 0), in reg_r() 54 0x00, in reg_r() 56 0x00, in reg_r() 61 gspca_dbg(gspca_dev, D_USBI, "reg_r 0x%x=0x%02x\n", in reg_r() 62 index, gspca_dev->usb_buf[0]); in reg_r() 63 if (ret < 0) { in reg_r() 64 pr_err("reg_r 0x%x err %d\n", index, ret); in reg_r() 66 return 0; in reg_r() [all …]
|