ASoC: samsung: i2s: Fix DAPM routes for capture stream
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Wed, 6 Mar 2019 10:24:45 +0000 (11:24 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 11 Mar 2019 16:27:06 +0000 (16:27 +0000)
commit42e4cedd67e4eb2abaa5e684353a55d4a01a913e
treec1226c0e38eb64e6c5144099c7ffdfa566fe0b6e
parentc342febcde452f817cbd3896dc40953ab17c309d
ASoC: samsung: i2s: Fix DAPM routes for capture stream

This patch sets missing stream_name of capture part of the DAI driver
so we can define DAPM routing properly also for the capture stream.

While at it "Playback" suffix is added to the playback stream names
to clearly identify playback/capture.

Together with related dts patch this fixes NULL pointer dereference
when opening ALSA device for recording on Odroid XU3.

Fixes: 64aba9bca5bd ("ASoC: samsung: i2s: Add widgets and routes for DPCM support")
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/samsung/i2s.c