Commit 5932028f authored by Thierry MERLE's avatar Thierry MERLE Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (10379): gspca - main: Use usb_make_path() for VIDIOC_QUERYCAP.

parent d08e2ce0
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -961,8 +961,7 @@ static int vidioc_querycap(struct file *file, void *priv,
			le16_to_cpu(gspca_dev->dev->descriptor.idVendor),
			le16_to_cpu(gspca_dev->dev->descriptor.idProduct));
	}
	strncpy(cap->bus_info, gspca_dev->dev->bus->bus_name,
		sizeof cap->bus_info);
	usb_make_path(gspca_dev->dev, cap->bus_info, sizeof(cap->bus_info));
	cap->version = DRIVER_VERSION_NUMBER;
	cap->capabilities = V4L2_CAP_VIDEO_CAPTURE
			  | V4L2_CAP_STREAMING