ASoC: cs35l56: Remove NULL check from cs35l56_sdw_dai_set_stream()
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Thu, 1 Jun 2023 12:49:07 +0000 (13:49 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 1 Jun 2023 13:11:51 +0000 (14:11 +0100)
commit524306c3764276ce6cc7509908934982ce167039
tree9a3791efd7a5f9e8b185d6e280fc32cdbc9281ae
parent3a67ad17b47ed111bda692238b6a19420e6934c8
ASoC: cs35l56: Remove NULL check from cs35l56_sdw_dai_set_stream()

The dma pointer must be set to the passed stream pointer, even
if that pointer is NULL.

Fixes: e49611252900 ("ASoC: cs35l56: Add driver for Cirrus Logic CS35L56")
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20230601124907.3128170-1-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs35l56.c