Skip to content

Commit 3b06e13

Browse files
bardliaobroonie
authored andcommitted
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>
1 parent e0e8e4b commit 3b06e13

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

sound/soc/sof/intel/hda-dai.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ static int non_hda_dai_hw_params_data(struct snd_pcm_substream *substream,
379379

380380
sdev = widget_to_sdev(w);
381381
if (sdev->dspless_mode_selected)
382-
goto skip_tlv;
382+
return 0;
383383

384384
/* get stream_id */
385385
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,
423423
dma_config->dma_stream_channel_map.device_count = 1;
424424
dma_config->dma_priv_config_size = 0;
425425

426-
skip_tlv:
427426
return 0;
428427
}
429428

0 commit comments

Comments
 (0)