From: Sathya Prakash M R Date: Mon, 20 May 2019 19:46:43 +0000 (-0500) Subject: ASoC: Intel: sof-rt5682: add newline for clarity X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b385256eb54f0193f0f595a675409ba6e7282ffe;p=openwrt%2Fstaging%2Fblogic.git ASoC: Intel: sof-rt5682: add newline for clarity Make sure quirk handling is cleary split from number of links. Signed-off-by: Sathya Prakash M R Signed-off-by: Pierre-Louis Bossart Signed-off-by: Mark Brown --- diff --git a/sound/soc/intel/boards/sof_rt5682.c b/sound/soc/intel/boards/sof_rt5682.c index f28fb98cc306..fea42e275326 100644 --- a/sound/soc/intel/boards/sof_rt5682.c +++ b/sound/soc/intel/boards/sof_rt5682.c @@ -519,6 +519,7 @@ static int sof_audio_probe(struct platform_device *pdev) /* compute number of dai links */ sof_audio_card_rt5682.num_links = 1 + dmic_num + hdmi_num; + if (sof_rt5682_quirk & SOF_SPEAKER_AMP_PRESENT) sof_audio_card_rt5682.num_links++;