From: Hans de Goede Date: Sun, 20 May 2012 11:11:04 +0000 (-0300) Subject: [media] bttv: Use btv->has_radio rather then the card info when registering the tuner X-Git-Tag: v3.5-rc5~26^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c164646e25a5a073875c6ca346efa0d5afb6934;p=pandora-kernel.git [media] bttv: Use btv->has_radio rather then the card info when registering the tuner 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() gets called, 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-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed