summaryrefslogtreecommitdiff
path: root/drivers/media/media-device.c
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2016-07-20 09:19:03 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-01-27 12:31:32 -0200
commit12030f489ef87dd879400d65381482a1f2177adc (patch)
treea5e91b1c69730f3d897aed04e6030acdc8cfe4c6 /drivers/media/media-device.c
parent41387a59c8fd55975c6a26cc12fc5c9ca61fcc0f (diff)
[media] media: entity: Be vocal about failing sanity checks
Commit 3801bc7d1b8d ("[media] media: Media Controller fix to not let stream_count go negative") added a sanity check for negative stream_count, but a failure of the check remained silent. Make sure the failure is noticed. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/media-device.c')
0 files changed, 0 insertions, 0 deletions