|
@@ -33,6 +33,7 @@ static const struct snd_pcm_hardware snd_rockchip_hardware = {
|
|
|
|
|
|
static const struct snd_dmaengine_pcm_config rk_dmaengine_pcm_config = {
|
|
static const struct snd_dmaengine_pcm_config rk_dmaengine_pcm_config = {
|
|
.pcm_hardware = &snd_rockchip_hardware,
|
|
.pcm_hardware = &snd_rockchip_hardware,
|
|
|
|
+ .prepare_slave_config = snd_dmaengine_pcm_prepare_slave_config,
|
|
.prealloc_buffer_size = 32 * 1024,
|
|
.prealloc_buffer_size = 32 * 1024,
|
|
};
|
|
};
|
|
|
|
|