diff options
author | Laurent Pinchart <[email protected]> | 2011-11-28 08:25:30 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2011-12-20 09:37:09 -0200 |
commit | c3cd257402fdcd650816ec25b83480a24912430a (patch) | |
tree | 196dc0a3c236cdd7c61914926300d83ec00705d2 /drivers/pci/hotplug/ibmphp_hpc.c | |
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 <[email protected]>
Acked-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/pci/hotplug/ibmphp_hpc.c')
0 files changed, 0 insertions, 0 deletions