diff options
| author | Dhaval Patel <pdhaval@quicinc.com> | 2016-10-25 21:13:53 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-10-25 21:13:53 -0700 |
| commit | 5de0272d72e11119945d62e124e4173b4dd0224f (patch) | |
| tree | 69df193825cf84ddb857db943c54ea241551b6fc | |
| parent | 47d1afb69c1b9f621744eee82fc66bb49d455719 (diff) | |
| parent | 195dc24301d3416d985dec212700868952b2d021 (diff) | |
Merge "drm/msm/sde: correct read out of bit offset array" into dev/msm-4.4-drm_kms
| -rw-r--r-- | drivers/gpu/drm/msm/sde/sde_hw_catalog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/msm/sde/sde_hw_catalog.c b/drivers/gpu/drm/msm/sde/sde_hw_catalog.c index 41b55ca09502..3ac161f86680 100644 --- a/drivers/gpu/drm/msm/sde/sde_hw_catalog.c +++ b/drivers/gpu/drm/msm/sde/sde_hw_catalog.c @@ -323,9 +323,9 @@ static int _parse_dt_bit_offset(struct device_node *np, if (arr) { len /= sizeof(u32); for (i = 0, j = 0; i < len; j++) { - prop_value[j][i] = be32_to_cpu(arr[i]); + prop_value[j][0] = be32_to_cpu(arr[i]); i++; - prop_value[j][i] = be32_to_cpu(arr[i]); + prop_value[j][1] = be32_to_cpu(arr[i]); i++; } } else { |
