]> git.baikalelectronics.ru Git - kernel.git/commit
media: ngene: add XO2 module support
authorDaniel Scheller <d.scheller@gmx.net>
Sun, 25 Feb 2018 12:31:33 +0000 (07:31 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 6 Mar 2018 16:01:58 +0000 (11:01 -0500)
commit8121b41b1365eb6cab8f5840f9cca6e0bc9b9393
tree62e9bc9363404d6fc93fdac9f7768ad2fe70fe59
parent8a300204486122e428226ceba1fc93bff2dde2b2
media: ngene: add XO2 module support

Detect and initialise modules equipped with XO2 interfaces (Lattice
MachXO2). This requires a few more I2C transfer functions which this adds
as well. Defines for the different possible (available) module types are
added to ngene.h. The support for the actual tuners contained on these
addon modules is kept separate from this commit and is being added with
the next commits.

The xo2names array is temporarily marked __maybe_unused to silence a
corresponding compiler warning at this stage.

Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/pci/ngene/ngene-cards.c
drivers/media/pci/ngene/ngene.h