From: Hans Verkuil Date: Sat, 24 Jun 2006 12:47:56 +0000 (-0300) Subject: V4L/DVB (4222): Always switch tuner mode when calling VIDIOC_S_FREQUENCY. X-Git-Tag: v2.6.18-rc1~611^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f725cb3fa46fabe7fd7c7175fa77e12616bfdb8;p=pandora-kernel.git V4L/DVB (4222): Always switch tuner mode when calling VIDIOC_S_FREQUENCY. Fixes the weird and incorrect condition in VIDIOC_S_FREQUENCY. The tuner should always be switched to the mode specified in the v4l2_frequency struct. Much simpler and also corresponding to the v4l2 specification. The old condition made it impossible to switch from radio to analog tv mode using VIDIOC_S_FREQUENCY. Instead the (tv) frequency would be given to the radio tuner. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed