From: Jiri Benc Date: Sat, 7 May 2005 04:30:42 +0000 (-0700) Subject: [PATCH] video/tuner: fix tuner->freq updating X-Git-Tag: v2.6.12-rc4~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e99d3438e4db1ef9e4cae5ad3946c76f4ffd268d;p=pandora-kernel.git [PATCH] video/tuner: fix tuner->freq updating In VIDIOC_S_FREQUENCY command in tuner-core.c, t->freq is set to a new value before calling set_freq(). This is not necessary, as set_freq() sets t->freq itself. Moreover, it causes problems with Philips tuners, as they need to take into consideration difference between previous and new frequency. Signed-off-by: Jiri Benc Cc: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed