media: dvb: init i2c already in it930x_frontend_attach
authorAndreas Kemnade <andreas@kemnade.info>
Thu, 7 Mar 2019 23:11:58 +0000 (18:11 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 19 Mar 2019 20:48:39 +0000 (16:48 -0400)
commit1cb11bfaa1e0a5933fb56bdaa60beb18721a2e2d
tree693e118933b9d011cc0d142ed2ccba240241af6b
parent0ab34a08812a3334350dbaf69a018ee0ab3d2ddd
media: dvb: init i2c already in it930x_frontend_attach

i2c bus is already needed when the frontend is probed, so init it already
in it930x_frontend_attach. That prevents errors like:

si2168: probe of 6-0067 failed with error -5

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Signed-off-by: Jose Alberto Reguero <jose.alberto.reguero@gmail.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/usb/dvb-usb-v2/af9035.c