media: em28xx: Fix DualHD broken second tuner
authorBrad Love <brad@nextdimension.cc>
Wed, 2 May 2018 21:46:18 +0000 (17:46 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 9 May 2018 20:25:40 +0000 (16:25 -0400)
commit01affb000e00cfa0a9e9954476ef50962eb8b168
treed4611d6262159b279a081d0976a3af7f179f3b62
parent4573027b67cbf51a1b4363e0e75437491c5279d9
media: em28xx: Fix DualHD broken second tuner

The use of a hard coded i2c address breaks the creation of the
second tuner in DualHD 01595 models. The issue is compounded
by lack of any error message stating that a driver failed
initialization. Use addr, which contains the correct address
for each tuner.

Fixes: ad32495b1513 ("media: em28xx-dvb: simplify DVB module probing logic")

Signed-off-by: Brad Love <brad@nextdimension.cc>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/usb/em28xx/em28xx-dvb.c