summaryrefslogtreecommitdiffstats
path: root/include/media/sh_mobile_csi2.h
diff options
context:
space:
mode:
authorEzequiel Garcia <elezegarcia@gmail.com>2012-09-17 19:59:30 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-09-27 11:09:10 +0200
commit896f38f582730a19eb49677105b4fe4c0270b82e (patch)
tree70b769ece5f928d4b5e5cfe2f586f3882fb2acf2 /include/media/sh_mobile_csi2.h
parent[media] vivi: Add return code check at vb2_queue_init() (diff)
downloadlinux-896f38f582730a19eb49677105b4fe4c0270b82e.tar.xz
linux-896f38f582730a19eb49677105b4fe4c0270b82e.zip
[media] videobuf2-core: Replace BUG_ON and return an error at vb2_queue_init()
This replaces BUG_ON() calls with WARN_ON(), and returns EINVAL if some parameter is NULL, as suggested by Jonathan and Mauro. The BUG_ON() call is too drastic to be used in this case. See the full discussion here: http://www.spinics.net/lists/linux-media/msg52462.html Signed-off-by: Ezequiel Garcia <elezegarcia@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/sh_mobile_csi2.h')
0 files changed, 0 insertions, 0 deletions