]> git.baikalelectronics.ru Git - kernel.git/commit
[media] af9035: change dual mode boolean to bit field
authorAntti Palosaari <crope@iki.fi>
Thu, 7 Mar 2013 22:22:52 +0000 (19:22 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Mar 2013 22:01:58 +0000 (19:01 -0300)
commitaa909248b7aa0a57b2a03cbdae51caf40150903d
tree276e927e0f7820956895bbd4e67728fb5399eb10
parentbd6b00af71117639935c51ed2fa78cb670fafb3b
[media] af9035: change dual mode boolean to bit field

For some reason there seems to be value 0x03 in eeprom for dual mode
(and 0x00 for single mode). Boolean is not always 1 bit wide - it
could be 8 bit wide too. Storing number 0x03 to boolean causes driver
to thing there is 4 tuners in some cases :o
Add also some comments regarding to eeprom.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/dvb-usb-v2/af9035.h