From: Sylwester Nawrocki Date: Wed, 16 Nov 2011 11:19:58 +0000 (-0300) Subject: [media] m5mols: Fix set_fmt to return proper pixel format code X-Git-Tag: v3.2-rc7~30^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbe78ddde1f217044ed854eff92e4d22112871cb;p=pandora-kernel.git [media] m5mols: Fix set_fmt to return proper pixel format code In case pixel format is modified in set_fmt by the driver, the changes are not propagated back to the caller. Fix this by adjusting passed data for TRY and ACTIVE format. Also remove redundant pixel format code information from struct m5mols_info, it's already available in 'ffmt' array. Remove pad number validation in set/get_fmt, this is already done in the core. Signed-off-by: Sylwester Nawrocki Acked-by: HeungJun Kim Signed-off-by: Kyungmin Park Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed