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:
Govindaraj Rajagopal 2020-07-30 09:46:52 +05:30 • committed by Gerrit - the friendly Code Review server
commit cd778f6988

View file

@ -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();