aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/nuvoton-cir.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2015-07-12 20:08:34 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-08-10 08:08:11 -0300
commit2fa3dc4ea7c1cdf4eed288de9a6cc5d3a8befddd (patch)
treefa6bbb501d8f95ea74bd2459a9fb2b7410c35a96 /drivers/media/rc/nuvoton-cir.h
parent[media] vb2: Only requeue buffers immediately once streaming is started (diff)
downloadlinux-dev-2fa3dc4ea7c1cdf4eed288de9a6cc5d3a8befddd.tar.xz
linux-dev-2fa3dc4ea7c1cdf4eed288de9a6cc5d3a8befddd.zip
[media] vb2: Fix compilation breakage when !CONFIG_BUG
Commit 77a3c6fd90c9 ("[media] vb2: Don't WARN when v4l2_buffer.bytesused is 0 for multiplanar buffers") uses the __WARN() macro which isn't defined when CONFIG_BUG isn't set. This introduces a compilation breakage. Fix it by using WARN_ON() instead. The commit was also broken in that it merged v1 of the patch while a new v2 version had been submitted, reviewed and acked. Fix it by incorporating the changes from v1 to v2. Fixes: 77a3c6fd90c9 ("[media] vb2: Don't WARN when v4l2_buffer.bytesused is 0 for multiplanar buffers") Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/rc/nuvoton-cir.h')
0 files changed, 0 insertions, 0 deletions