summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/omap3isp/ispccp2.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-11-28 08:25:30 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-12-20 09:37:09 -0200
commitc3cd257402fdcd650816ec25b83480a24912430a (patch)
tree196dc0a3c236cdd7c61914926300d83ec00705d2 /drivers/media/video/omap3isp/ispccp2.c
parent22db44cb9cd67d56b02b2b5dceb10d3d1361b28b (diff)
downloadop-kernel-dev-c3cd257402fdcd650816ec25b83480a24912430a.zip
op-kernel-dev-c3cd257402fdcd650816ec25b83480a24912430a.tar.gz
[media] omap3isp: video: Don't WARN() on unknown pixel formats
When mapping from a V4L2 pixel format to a media bus format in the VIDIOC_TRY_FMT and VIDIOC_S_FMT handlers, the requested format may be unsupported by the driver. Return a hardcoded format instead of WARN()ing in that case. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Sakari Ailus <sakari.ailus@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/omap3isp/ispccp2.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud