Merge "Soundtrigger service: fix status reporting in loadSoundModel" into lmp-mr1-dev

am: c558af3f42

Change-Id: If4a3fdcc6ac02d4176ff4bd6427fac39bd1b6930
gugelfrei
Eric Laurent 7 years ago committed by android-build-merger
commit 8d6ba121ad

@ -583,11 +583,11 @@ status_t SoundTriggerHwService::Module::loadSoundModel(const sp<IMemory>& modelM
unloadSoundModel_l(mModels.valueAt(0)->mHandle, &freedSession);
}
status_t status = mHwDevice->load_sound_model(mHwDevice,
sound_model,
SoundTriggerHwService::soundModelCallback,
this,
handle);
status = mHwDevice->load_sound_model(mHwDevice,
sound_model,
SoundTriggerHwService::soundModelCallback,
this,
handle);
if (status != NO_ERROR) {
goto exit;
}

Loading…
Cancel
Save