From: Laurent Pinchart Date: Tue, 3 Mar 2015 11:08:42 +0000 (-0300) Subject: [media] staging: media: omap4iss: video: Don't WARN() on unknown pixel formats X-Git-Tag: omap-for-v4.2/o2_dc~62^2~1^2~142 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac0eb4809e88357b885c72b4e95def98235613c8;p=pandora-kernel.git [media] staging: media: omap4iss: 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 default format instead of WARN()ing in that case. Signed-off-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed