mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
Merge "msm: cvp: Avoids sending random error code to DSP"
This commit is contained in:
commit
3c77f0168f
1 changed files with 3 additions and 1 deletions
|
|
@ -566,8 +566,10 @@ wait_dsp:
|
|||
switch (me->pending_dsp2cpu_cmd.type) {
|
||||
case DSP2CPU_POWERON:
|
||||
{
|
||||
if (me->state == DSP_READY)
|
||||
if (me->state == DSP_READY) {
|
||||
cmd.ret = 0;
|
||||
break;
|
||||
}
|
||||
|
||||
mutex_unlock(&me->lock);
|
||||
old_state = me->state;
|
||||
|
|
|
|||
Loading…
Reference in a new issue