summaryrefslogtreecommitdiff
path: root/Documentation/media/uapi/v4l/vidioc-g-dv-timings.rst
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2016-07-21 09:14:03 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-08-24 10:18:42 -0300
commit10791829eb52d572915ef621f06e134488d4b204 (patch)
treedd18ba22b83a272911524270305dd9ccc6a86d8f /Documentation/media/uapi/v4l/vidioc-g-dv-timings.rst
parent0ff657b0f6120cb53f98b1b42c87af34670edff5 (diff)
[media] vb2: add WARN_ONs checking if a valid struct device was passed
The dma-contig and dma-sg memops require a valid struct device for the DMA to be handled correctly. Call WARN_ON and return ERR_PTR(-EINVAL) if it was NULL. Setting the correct device pointer was forgotten in several new driver submissions. This was caught during code review, but it really should be caught in the code. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/media/uapi/v4l/vidioc-g-dv-timings.rst')
0 files changed, 0 insertions, 0 deletions