v4l: Add YUYV10 and YUYV12 on 24 bits bus formats

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
v4l: async: Make it safe to unregister unregistered notifier

Calling v4l2_async_notifier_unregister() on a notifier that hasn't been
registered leads to a crash. To simplify drivers, make it safe to
unregister a notifier that has not been registered.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
v4l: async: Don't match when the notifier waiting list is empty

v4l2_async_belongs() loops over the notifier waiting list to check
whether a given subdev matches the notifier. When the list is empty the
function erroneously returned the waiting list head. Return NULL
instead.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
v4l: of: Use of_get_child_by_name()

Replace a manual loop through child nodes with a call to
of_get_child_by_name().

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
v4l: of: Drop acquired reference to node when getting next endpoint

The of_get_child_by_name() function takes a reference to the node it
returns. Make sure to drop it when looking for the ports node in
v4l2_of_get_next_endpoint().

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
v4l: xilinx: Preliminary support for capture and output video nodes

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
v4l: xilinx: dma: Fix support for capture and output video nodes

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
v4l: xilinx: dma: Fix vb2_buffer to xvip_dma_buffer inheritance

videobuf2 allows drivers to request allocation of buffer structures
larger than struct vb2_buffer in order to reserve room for
driver-specific data. The resulting driver buffer structure inherits
from struct vb2_buffer and must have the vb2 buffer structure as its
first field.

The xvip_dma_buffer structure has fields before struct vb2_buffer. Fix
it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
v4l: xilinx: Support mem-to-mem pipelines

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
xilinx sobel filter
xilinx sobel interrupt
vdma debug
video debug