瀏覽代碼

V4L/DVB (10413): Bug fix: Restore HVR-4000 tuning.

Some cards uses cx24116 LNB_DC pin for LNB power control,
some not uses, some uses it different way, like HVR-4000.

Tested-by : Edgar Hucek <gimli@dark-green.com>

Signed-off-by: Igor M. Liplianin <liplianin@me.by>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Igor M. Liplianin 16 年之前
父節點
當前提交
8afe6ad617
共有 1 個文件被更改,包括 6 次插入1 次删除
  1. 6 1
      drivers/media/dvb/frontends/cx24116.c

+ 6 - 1
drivers/media/dvb/frontends/cx24116.c

@@ -1167,7 +1167,12 @@ static int cx24116_initfe(struct dvb_frontend *fe)
 	if (ret != 0)
 		return ret;
 
-	return cx24116_diseqc_init(fe);
+	ret = cx24116_diseqc_init(fe);
+	if (ret != 0)
+		return ret;
+
+	/* HVR-4000 needs this */
+	return cx24116_set_voltage(fe, SEC_VOLTAGE_13);
 }
 
 /*