From: Steven Toth <stoth@linuxtv.org>
Date: Sat, 13 Sep 2008 22:22:15 +0000 (-0300)
Subject: V4L/DVB (9009): Nova-se2 / Nova-s-plus Intersil6421 power fix to support switches.
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=83fe92e71ef736a26a6eedd0822b34ed5af077f0;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git

V4L/DVB (9009): Nova-se2 / Nova-s-plus Intersil6421 power fix to support switches.

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
---

diff --git a/drivers/media/video/cx88/cx88-dvb.c b/drivers/media/video/cx88/cx88-dvb.c
index 5ff6e9d28713..891acb50bd99 100644
--- a/drivers/media/video/cx88/cx88-dvb.c
+++ b/drivers/media/video/cx88/cx88-dvb.c
@@ -847,7 +847,7 @@ static int dvb_register(struct cx8802_dev *dev)
 					       &core->i2c_adap);
 		if (dev->dvb.frontend) {
 			if (!dvb_attach(isl6421_attach, dev->dvb.frontend,
-					&core->i2c_adap, 0x08, 0x00, 0x00))
+					&core->i2c_adap, 0x08, ISL6421_DCL, 0x00))
 				goto frontend_detach;
 		}
 		break;
@@ -950,7 +950,7 @@ static int dvb_register(struct cx8802_dev *dev)
 		}
 		break;
 	case CX88_BOARD_TEVII_S460:
-	        dev->dvb.frontend = dvb_attach(cx24116_attach,
+		dev->dvb.frontend = dvb_attach(cx24116_attach,
 					       &tevii_s460_config,
 					       &core->i2c_adap);
 		if (dev->dvb.frontend != NULL) {