Skip to content
Snippets Groups Projects
Commit 31def064 authored by Shengjiu Wang's avatar Shengjiu Wang
Browse files

MLK-21107-2: ASoC: Drop msg if msg queue is full


We designed length of msg queue to be 0x18, which is too
small if the period size = 512bytes, sometimes the queue
will be full, which cause the msg is replaced by new one.
which is not acceptable.

So we need to enlarge the length of msg queue and add
protection when msg queue is full, if the msg queue is full
with the cmd (START, STOP, PAUSE...), driver will return
error,  with the cmd (I2S_TX_POINTER, I2S_TX_PERIOD_DONE)
driver will drop the cmd.

Signed-off-by: default avatarShengjiu Wang <shengjiu.wang@nxp.com>
parent a23d1df0
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment