[PATCH] bttv: Use btv->has_radio rather then the card info

2012-05-20 Thread Hans de Goede
I've been spending some time playing with radio receivers under Linux, and I noticed that my bttv's radio reception was not working. The patch in the next message fixes the 1st of 3 problems related to this, can you review this patch please and also let me know if it is ok to send patch though my t

Re: [PATCH] bttv: Use btv->has_radio rather then the card info

2012-05-20 Thread Hans Verkuil
On Sun May 20 2012 13:28:11 Hans de Goede wrote: > I've been spending some time playing with radio receivers under Linux, and > I noticed that my bttv's radio reception was not working. The patch in the > next message fixes the 1st of 3 problems related to this, can you review this > patch please a

[PATCH] bttv: Use btv->has_radio rather then the card info when registering the tuner

2012-05-20 Thread Hans de Goede
bttv_init_card2() sets btv->has_audio to a *default* value from the tvcards array and then may update it by reading a card specific eeprom or gpio detection. After bttv_init_card2(), bttv_init_tuner(), and it should clearly use the updated, dynamic has_radio value from btv->has_radio, rather then

Re: [PATCH] bttv: Use btv->has_radio rather then the card info when registering the tuner

2012-05-24 Thread Andrew Benham
On 20/05/12 12:28, Hans de Goede wrote: > After bttv_init_card2(), bttv_init_tuner(), and it should clearly use > the updated, dynamic has_radio value from btv->has_radio, rather then > the const value in the tvcards array. > > This fixes the radio not working on my Hauppauge WinTV. > > Signed-o