mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 21:07:02 +09:00
hw_demux: add xtal config for tuner [2/3]
PD#171245: add xtal config for tuner Change-Id: I62bc6dd3c5a154d3cc439d8542b99ecb4f0ccbdf Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
This commit is contained in:
committed by
Dongjin Kim
parent
c0bc723b1d
commit
9f5ff17601
@@ -1960,6 +1960,12 @@ static int aml_dvb_probe(struct platform_device *pdev)
|
||||
else
|
||||
cfg.xtal = value;
|
||||
|
||||
ret = of_property_read_u32(node_tuner, "tuner_xtal_mode", &value);
|
||||
if (ret)
|
||||
pr_err("tuner_xtal_mode error.\n");
|
||||
else
|
||||
cfg.xtal_mode = value;
|
||||
|
||||
ret = of_property_read_u32(node_tuner, "tuner_xtal_cap", &value);
|
||||
if (ret)
|
||||
pr_err("tuner_xtal_cap error.\n");
|
||||
|
||||
Reference in New Issue
Block a user