Fix error: arch/sim/src/sim/posix/sim_alsa.c:290:18: error: 'flags' undeclared
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
4fef475825
commit
d4fd9f53cd
|
@ -286,8 +286,6 @@ static int sim_audio_open(struct sim_audio_s *priv)
|
|||
return 0;
|
||||
|
||||
fail:
|
||||
snd_pcm_close(pcm);
|
||||
up_irq_restore(flags);
|
||||
host_uninterruptible(snd_pcm_close, pcm);
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue