Re: [RFCv1 PATCH 3/7] tuner-core: fix g_frequency support.

2011-06-11 Thread Hans Verkuil
On Saturday, June 11, 2011 15:44:43 Mauro Carvalho Chehab wrote: > Em 11-06-2011 10:34, Hans Verkuil escreveu: > > From: Hans Verkuil > > > > VIDIOC_G_FREQUENCY should not check the tuner type, instead that is > > something the driver fill in. > > > > Since apps will often leave the type at 0, t

Re: [RFCv1 PATCH 3/7] tuner-core: fix g_frequency support.

2011-06-11 Thread Mauro Carvalho Chehab
Em 11-06-2011 10:34, Hans Verkuil escreveu: > From: Hans Verkuil > > VIDIOC_G_FREQUENCY should not check the tuner type, instead that is > something the driver fill in. > > Since apps will often leave the type at 0, the 'supported_mode' call > will return false and the frequency never gets fille

[RFCv1 PATCH 3/7] tuner-core: fix g_frequency support.

2011-06-11 Thread Hans Verkuil
From: Hans Verkuil VIDIOC_G_FREQUENCY should not check the tuner type, instead that is something the driver fill in. Since apps will often leave the type at 0, the 'supported_mode' call will return false and the frequency never gets filled in. Remove this check. Signed-off-by: Hans Verkuil --