commit | c3cd257402fdcd650816ec25b83480a24912430a | [log] [tgz] |
---|---|---|
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | Mon Nov 28 08:25:30 2011 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Tue Dec 20 09:37:09 2011 -0200 |
tree | 196dc0a3c236cdd7c61914926300d83ec00705d2 | |
parent | 22db44cb9cd67d56b02b2b5dceb10d3d1361b28b [diff] |
[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>