diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2011-11-28 08:25:30 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-12-20 09:37:09 -0200 |
commit | c3cd257402fdcd650816ec25b83480a24912430a (patch) | |
tree | 196dc0a3c236cdd7c61914926300d83ec00705d2 /drivers/watchdog/bfin_wdt.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 <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/watchdog/bfin_wdt.c')
0 files changed, 0 insertions, 0 deletions