File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -1894,15 +1894,15 @@ static int soc_tplg_dai_config(struct soc_tplg *tplg,
1894
1894
caps = & d -> caps [SND_SOC_TPLG_STREAM_PLAYBACK ];
1895
1895
ret = set_stream_info (tplg , stream , caps );
1896
1896
if (ret < 0 )
1897
- goto err ;
1897
+ return ret ;
1898
1898
}
1899
1899
1900
1900
if (d -> capture ) {
1901
1901
stream = & dai_drv -> capture ;
1902
1902
caps = & d -> caps [SND_SOC_TPLG_STREAM_CAPTURE ];
1903
1903
ret = set_stream_info (tplg , stream , caps );
1904
1904
if (ret < 0 )
1905
- goto err ;
1905
+ return ret ;
1906
1906
}
1907
1907
1908
1908
if (d -> flag_mask )
@@ -1914,13 +1914,10 @@ static int soc_tplg_dai_config(struct soc_tplg *tplg,
1914
1914
ret = soc_tplg_dai_load (tplg , dai_drv , NULL , dai );
1915
1915
if (ret < 0 ) {
1916
1916
dev_err (tplg -> dev , "ASoC: DAI loading failed\n" );
1917
- goto err ;
1917
+ return ret ;
1918
1918
}
1919
1919
1920
1920
return 0 ;
1921
-
1922
- err :
1923
- return ret ;
1924
1921
}
1925
1922
1926
1923
/* load physical DAI elements */
You can’t perform that action at this time.
0 commit comments