Skip to content

Commit

Permalink
WIP device as webcam
Browse files Browse the repository at this point in the history
Change-Id: I81d10631da5f6255dce15ba4486935a47b71cac5
  • Loading branch information
Linux4 authored and xyz-sundram committed May 2, 2024
1 parent c53e061 commit ea66ed2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion arch/arm64/configs/exynos9610-a50_default_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3764,7 +3764,7 @@ CONFIG_USB_RNDIS_MULTIPACKET=y
# CONFIG_USB_CONFIGFS_F_UAC2 is not set
CONFIG_USB_CONFIGFS_F_MIDI=y
# CONFIG_USB_CONFIGFS_F_HID is not set
# CONFIG_USB_CONFIGFS_F_UVC is not set
CONFIG_USB_CONFIGFS_F_UVC=y
# CONFIG_USB_CONFIGFS_F_PRINTER is not set

#
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/configs/exynos9610-m30s_core_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3851,7 +3851,7 @@ CONFIG_USB_RNDIS_MULTIPACKET=y
# CONFIG_USB_CONFIGFS_F_UAC2 is not set
CONFIG_USB_CONFIGFS_F_MIDI=y
# CONFIG_USB_CONFIGFS_F_HID is not set
# CONFIG_USB_CONFIGFS_F_UVC is not set
CONFIG_USB_CONFIGFS_F_UVC=y
# CONFIG_USB_CONFIGFS_F_PRINTER is not set

#
Expand Down
4 changes: 2 additions & 2 deletions drivers/media/v4l2-core/videobuf2-vmalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ static struct dma_buf *vb2_vmalloc_get_dmabuf(void *buf_priv, unsigned long flag
/* callbacks for DMABUF buffers */
/*********************************************/

static int vb2_vmalloc_map_dmabuf(void *mem_priv)
static int vb2_vmalloc_map_dmabuf(void *mem_priv, size_t __attribute__((unused)) size)
{
struct vb2_vmalloc_buf *buf = mem_priv;

Expand All @@ -391,7 +391,7 @@ static int vb2_vmalloc_map_dmabuf(void *mem_priv)
return buf->vaddr ? 0 : -EFAULT;
}

static void vb2_vmalloc_unmap_dmabuf(void *mem_priv)
static void vb2_vmalloc_unmap_dmabuf(void *mem_priv, size_t __attribute__((unused)) size)
{
struct vb2_vmalloc_buf *buf = mem_priv;

Expand Down

0 comments on commit ea66ed2

Please sign in to comment.