mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
Merge "msm: camera: smmu: Fixes label_is_string warning in camera dtsi files" into camera-kernel.lnx.4.0
This commit is contained in:
commit
e92da9e9d2
1 changed files with 2 additions and 2 deletions
|
|
@ -3900,7 +3900,7 @@ static int cam_populate_smmu_context_banks(struct device *dev,
|
|||
of_property_read_bool(dev->of_node, "multiple-client-devices");
|
||||
|
||||
cb->num_shared_hdl = of_property_count_strings(dev->of_node,
|
||||
"label");
|
||||
"cam-smmu-label");
|
||||
|
||||
if (cb->num_shared_hdl >
|
||||
CAM_SMMU_SHARED_HDL_MAX) {
|
||||
|
|
@ -3913,7 +3913,7 @@ static int cam_populate_smmu_context_banks(struct device *dev,
|
|||
/* set the name of the context bank */
|
||||
for (i = 0; i < cb->num_shared_hdl; i++)
|
||||
rc = of_property_read_string_index(dev->of_node,
|
||||
"label", i, &cb->name[i]);
|
||||
"cam-smmu-label", i, &cb->name[i]);
|
||||
if (rc < 0) {
|
||||
CAM_ERR(CAM_SMMU,
|
||||
"Error: failed to read label from sub device");
|
||||
|
|
|
|||
Loading…
Reference in a new issue