From: Pantelis Koukousoulas Date: Thu, 28 Dec 2006 02:06:54 +0000 (-0300) Subject: V4L/DVB (5036): Pvrusb2: Fix for min/max control value checking X-Git-Tag: v2.6.21-rc2~66^2~164 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6fcb5b3ef758ca78461d390dc07bed5a4667c521;p=pandora-kernel.git V4L/DVB (5036): Pvrusb2: Fix for min/max control value checking In the previous patch we exploited the get_{min,max}_value facility to adjust min/max allowable frequencies on the fly, depending on tuner mode. Unfortunately, this facility was not used inside the *sym_to_val() function that translates what we echo to sysfs, which means we got an -ERANGE despite asking for a frequency between what we read to be min/max. This patch corrects this small omission. Signed-off-by: Pantelis Koukousoulas Signed-off-by: Mike Isely Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed