From: Hans Verkuil Date: Tue, 7 Jun 2011 07:40:04 +0000 (-0300) Subject: [media] v4l2-ctrls: simplify error_idx handling X-Git-Tag: v3.1-rc1~116^2~244 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37cd3b73683f15f1b6313d0de476726aa0942a75;p=pandora-kernel.git [media] v4l2-ctrls: simplify error_idx handling The lower-level prepare functions just set error_idx for each control that might have an error. The high-level functions will override this with cs->count in the get and set cases. Only try will keep the error_idx. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed