Re: [RFCv2 PATCH 4/5] tuner-core: fix s_std and s_tuner.

2011-06-11 Thread Hans Verkuil
On Saturday, June 11, 2011 17:05:30 Hans Verkuil wrote: > From: Hans Verkuil > > Both s_std and s_tuner are broken because set_mode_freq is called before the > new std (for s_std) and audmode (for s_tuner) are set. > > This patch splits set_mode_freq in a set_mode and a set_freq and in s_std > f

[RFCv2 PATCH 4/5] tuner-core: fix s_std and s_tuner.

2011-06-11 Thread Hans Verkuil
From: Hans Verkuil Both s_std and s_tuner are broken because set_mode_freq is called before the new std (for s_std) and audmode (for s_tuner) are set. This patch splits set_mode_freq in a set_mode and a set_freq and in s_std first calls set_mode, and if that returns true (i.e. the mode is suppor