mirror of https://github.com/thesofproject/sof.git
DMIC: Add DMIC DMA setting to DAI
Note that this is hardwired to stereo for now to enable testing of feature. It need to be updated to support any number of channels and optimized DMA burst size. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This commit is contained in:
parent
0c6c12aa96
commit
aea16662ca
|
@ -639,6 +639,11 @@ static int dai_config(struct comp_dev *dev, struct sof_ipc_dai_config *config)
|
|||
break;
|
||||
}
|
||||
break;
|
||||
case SOF_DAI_INTEL_DMIC:
|
||||
/* TODO: No hardwired values here. */
|
||||
dd->config.burst_elems = 2;
|
||||
dev->frame_bytes = 8;
|
||||
break;
|
||||
default:
|
||||
/* other types of DAIs not handled for now */
|
||||
trace_dai_error("de2");
|
||||
|
|
Loading…
Reference in New Issue