Skip to content
Snippets Groups Projects
Unverified Commit cbfa85a5 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mark Brown
Browse files
parent 98fda42a
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
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