Merge "dsp: msm_audio_ion: store device pointer locally for all cases" into audio-drivers.lnx.3.0
This commit is contained in:

کامیت شده توسط
Gerrit - the friendly Code Review server

کامیت
8af506f8d2
@@ -652,7 +652,6 @@ static int msm_audio_smmu_init(struct device *dev)
|
||||
goto fail_attach;
|
||||
}
|
||||
|
||||
msm_audio_ion_data.cb_dev = dev;
|
||||
msm_audio_ion_data.mapping = mapping;
|
||||
INIT_LIST_HEAD(&msm_audio_ion_data.alloc_list);
|
||||
mutex_init(&(msm_audio_ion_data.list_mutex));
|
||||
@@ -759,6 +758,8 @@ exit:
|
||||
if (!rc)
|
||||
msm_audio_ion_data.device_status |= MSM_AUDIO_ION_PROBED;
|
||||
|
||||
msm_audio_ion_data.cb_dev = dev;
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
مرجع در شماره جدید
Block a user