diff options
Diffstat (limited to 'sound/soc/omap/omap-abe.c')
-rw-r--r-- | sound/soc/omap/omap-abe.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/soc/omap/omap-abe.c b/sound/soc/omap/omap-abe.c index b05dfe8..943f9d6 100644 --- a/sound/soc/omap/omap-abe.c +++ b/sound/soc/omap/omap-abe.c @@ -1019,6 +1019,12 @@ static int omap_abe_dai_hw_params(struct snd_pcm_substream *substream, dma_data = &omap_abe_dai_dma_params[dai->id][substream->stream]; + /* Reset DMA info that may have been overridden */ + dma_data->port_addr = 0L; + dma_data->set_threshold = NULL; + dma_data->data_type = OMAP_DMA_DATA_TYPE_S32; + dma_data->packet_size = 0; + switch (params_channels(params)) { case 1: if (params_format(params) == SNDRV_PCM_FORMAT_S16_LE) { |