media: ddbridge: set devid entry for link 0
authorDaniel Scheller <d.scheller@gmx.net>
Mon, 9 Apr 2018 16:47:45 +0000 (12:47 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 4 May 2018 14:40:30 +0000 (10:40 -0400)
commit60586360f14e6651d00afa826515e0addb877aeb
treecd4c47e7fc2b85729f7c08baccc77b9cfdaf4fba
parent28473a197aeae3e12fc85ba3ddec1181a8fee882
media: ddbridge: set devid entry for link 0

Currently, /sys/class/ddbridgeX/devid always reports 0 due to devid not
being set at all. Set the devid field alongside while storing all other
hardware ID data.

Picked up from the upstream dddvb-0.9.33 release.

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