From: Mike Isely Date: Tue, 22 Apr 2008 17:45:38 +0000 (-0300) Subject: V4L/DVB (7302): pvrusb2: Improve control validation for enumerations X-Git-Tag: v2.6.26-rc1~1084^2~364 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fdf256f3374d5060e3714651b45b8450b7dc4349;p=pandora-kernel.git V4L/DVB (7302): pvrusb2: Improve control validation for enumerations When an enumeration control is changed, the pvrusb2 driver assumed that the enumeration values were continuous. That is no longer true; this change allows for properly input validation even when not all enumeration values are legal (which can happen with input selection based on what the hardware supports). Signed-off-by: Mike Isely Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed