summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/rt1308-sdw.c
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2020-11-11 22:43:16 +0100
committerMark Brown <broonie@kernel.org>2020-11-12 16:15:52 +0100
commit4a55000722d74e4ad1ea4700a423e21fab0d53ba (patch)
treea08be353ce616b33bfd8475c47c89c005623f13d /sound/soc/codecs/rt1308-sdw.c
parentASoC: Intel: sof_sdw: add quirk for new TigerLake-SDCA device (diff)
downloadlinux-4a55000722d74e4ad1ea4700a423e21fab0d53ba.tar.xz
linux-4a55000722d74e4ad1ea4700a423e21fab0d53ba.zip
ASoC: codecs: rt*.c: remove useless pointer cast
Pointer cast is not necessary, remove. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Reviewed-by: Rander Wang <rander.wang@linux.intel.com> Link: https://lore.kernel.org/r/20201111214318.150529-3-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt1308-sdw.c')
-rw-r--r--sound/soc/codecs/rt1308-sdw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt1308-sdw.c b/sound/soc/codecs/rt1308-sdw.c
index c2621b0afe6c..ec5564f780e8 100644
--- a/sound/soc/codecs/rt1308-sdw.c
+++ b/sound/soc/codecs/rt1308-sdw.c
@@ -475,7 +475,7 @@ static int rt1308_set_sdw_stream(struct snd_soc_dai *dai, void *sdw_stream,
if (!stream)
return -ENOMEM;
- stream->sdw_stream = (struct sdw_stream_runtime *)sdw_stream;
+ stream->sdw_stream = sdw_stream;
/* Use tx_mask or rx_mask to configure stream tag and set dma_data */
if (direction == SNDRV_PCM_STREAM_PLAYBACK)