Commit cbfa85a5 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mark Brown
parent 98fda42a
......@@ -155,10 +155,7 @@ static int cs42l42_sdw_dai_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_str
if (!sdw_stream)
return 0;
if (direction == SNDRV_PCM_STREAM_PLAYBACK)
dai->playback_dma_data = sdw_stream;
else
dai->capture_dma_data = sdw_stream;
snd_soc_dai_dma_data_set(dai, direction, sdw_stream);
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment