From: Hans Verkuil Date: Tue, 12 Mar 2013 21:43:21 +0000 (-0300) Subject: [media] solo6x10: fix various format-related compliancy issues X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~81^2~220 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=016afda4fb298aa2e5515048fcba0271ad6f7320;p=pandora-kernel.git [media] solo6x10: fix various format-related compliancy issues - try_fmt should never return -EBUSY. - invalid pix->field values were not mapped to a valid value. - the priv field of struct v4l2_pix_format wasn't zeroed. - the try_fmt error code was not checked in set_fmt. - enum_framesizes/intervals is valid for both MJPEG and MPEG pixel formats. - enum_frameintervals didn't check width and height and reported the wrong range. - s_parm didn't set readbuffers. - don't fail on invalid colorspace, just replace with the valid colorspace. - bytesperline should be 0 for compressed formats. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed