diff options
author | Bard Liao <yung-chuan.liao@linux.intel.com> | 2024-06-03 10:32:24 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-06-03 15:59:14 +0100 |
commit | 3b06e137089fc0beb5ffa6a869de9a93df984072 (patch) | |
tree | 68b2a692645a93beebf2203fe7c5a999ed4c098c /sound | |
parent | e0e8e4bce61cac674fdabd85d070e7bab1634a8b (diff) | |
download | linux-3b06e137089fc0beb5ffa6a869de9a93df984072.tar.gz linux-3b06e137089fc0beb5ffa6a869de9a93df984072.tar.bz2 linux-3b06e137089fc0beb5ffa6a869de9a93df984072.zip |
ASoC: SOF: Intel: hda-dai: remove skip_tlv label
We just return 0 after the skip_tlv label. No need to use a label.
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://msgid.link/r/20240603073224.14726-3-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/sof/intel/hda-dai.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/sof/intel/hda-dai.c b/sound/soc/sof/intel/hda-dai.c index a2b6dbcfa918..c61d298ea6b3 100644 --- a/sound/soc/sof/intel/hda-dai.c +++ b/sound/soc/sof/intel/hda-dai.c @@ -379,7 +379,7 @@ static int non_hda_dai_hw_params_data(struct snd_pcm_substream *substream, sdev = widget_to_sdev(w); if (sdev->dspless_mode_selected) - goto skip_tlv; + return 0; /* get stream_id */ hext_stream = ops->get_hext_stream(sdev, cpu_dai, substream); @@ -423,7 +423,6 @@ static int non_hda_dai_hw_params_data(struct snd_pcm_substream *substream, dma_config->dma_stream_channel_map.device_count = 1; dma_config->dma_priv_config_size = 0; -skip_tlv: return 0; } |