mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
[media] mem2mem_testdev: fix querycap regression
Trival but important patch. Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
3273781068
commit
00424c7ec5
1 changed files with 1 additions and 1 deletions
|
|
@ -431,7 +431,7 @@ static int vidioc_querycap(struct file *file, void *priv,
|
|||
strncpy(cap->driver, MEM2MEM_NAME, sizeof(cap->driver) - 1);
|
||||
strncpy(cap->card, MEM2MEM_NAME, sizeof(cap->card) - 1);
|
||||
strlcpy(cap->bus_info, MEM2MEM_NAME, sizeof(cap->bus_info));
|
||||
cap->capabilities = V4L2_CAP_VIDEO_M2M | V4L2_CAP_STREAMING;
|
||||
cap->device_caps = V4L2_CAP_VIDEO_M2M | V4L2_CAP_STREAMING;
|
||||
cap->capabilities = cap->device_caps | V4L2_CAP_DEVICE_CAPS;
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue