[media] gspca: Remove gspca-specific debug magic
Instead use v4l2_dbg and v4l2_err. Note that the PDEBUG macro is kept to make this patch-set less invasive, but it is simply a wrapper around v4l2_dbg now. Most of the other changes are there to make the dev parameter for the v4l2_xxx macros available everywhere we do logging. Signed-off-by: Theodore Kilgore <kilgota@auburn.edu> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
此提交包含在:

提交者
Mauro Carvalho Chehab

父節點
70c8ecf54b
當前提交
c93396e135
@@ -266,7 +266,7 @@ static int jlj_start(struct gspca_dev *gspca_dev)
|
||||
msleep(2);
|
||||
setfreq(gspca_dev, v4l2_ctrl_g_ctrl(sd->freq));
|
||||
if (gspca_dev->usb_err < 0)
|
||||
PDEBUG(D_ERR, "Start streaming command failed");
|
||||
PERR("Start streaming command failed");
|
||||
return gspca_dev->usb_err;
|
||||
}
|
||||
|
||||
|
新增問題並參考
封鎖使用者