media: ddbridge/mci: store mci type and number of ports in the hwinfo
authorDaniel Scheller <d.scheller@gmx.net>
Sat, 23 Jun 2018 15:36:09 +0000 (11:36 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 30 Jul 2018 20:23:12 +0000 (16:23 -0400)
commit07b12de21258e1d96445572100961d1d42b1b7f7
treeb1a44479d3ee20bf59fb77e9192f02dc975a74b2
parent6094cbed4e7bee130f8b29c9a174bc336d19990b
media: ddbridge/mci: store mci type and number of ports in the hwinfo

For better support for future MCI based cards, rename the mci struct
member to mci_ports to carry the number of ports on the cards, and add a
mci_type member to identify the card type to handle differing hardware.

Picked up from the upstream dddvb GIT.

Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/pci/ddbridge/ddbridge-core.c
drivers/media/pci/ddbridge/ddbridge-hw.c
drivers/media/pci/ddbridge/ddbridge.h