mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
msm: vidc: always read fuse value irrespective of sku-index
[1] Only one vidc node is maintained, so "sku-index" entry is
removed in dtsi.
[2] In video driver, always read fuse value if efuse_data entry
is populated
Change-Id: I86b8c38f1e71491678b54a11783292e1281f90d3
Signed-off-by: Govindaraj Rajagopal <grajagop@codeaurora.org>
This commit is contained in:
parent
a742fc9e9a
commit
cd778f6988
1 changed files with 3 additions and 5 deletions
|
|
@ -1625,11 +1625,9 @@ void *vidc_get_drv_data(struct device *dev)
|
|||
goto exit;
|
||||
|
||||
/* Check for sku version */
|
||||
if (of_find_property(dev->of_node, "sku-index", NULL)) {
|
||||
rc = msm_vidc_read_efuse(driver_data, dev);
|
||||
if (rc)
|
||||
goto exit;
|
||||
}
|
||||
rc = msm_vidc_read_efuse(driver_data, dev);
|
||||
if (rc)
|
||||
goto exit;
|
||||
|
||||
if (!strcmp(match->compatible, "qcom,lahaina-vidc")) {
|
||||
ddr_type = of_fdt_get_ddrtype();
|
||||
|
|
|
|||
Loading…
Reference in a new issue