Merge "msm: camera: isp: use correct number of entries"
This commit is contained in:
commit
6ec84a46b9
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ static int32_t msm_vfe40_init_qos_parms(struct vfe_device *vfe_dev,
|
|||
if (rc < 0 || !ds_entries) {
|
||||
pr_err("%s: NO D/S entries found\n", __func__);
|
||||
} else {
|
||||
ds_settings = kzalloc(sizeof(uint32_t) * ds_entries,
|
||||
ds_settings = kcalloc(ds_entries, sizeof(uint32_t),
|
||||
GFP_KERNEL);
|
||||
if (!ds_settings) {
|
||||
pr_err("%s:%d No memory\n", __func__, __LINE__);
|
||||
|
|
Loading…
Add table
Reference in a new issue