summaryrefslogtreecommitdiff
path: root/sound/soc/intel
diff options
context:
space:
mode:
authorSathya Prakash M R <sathya.prakash.m.r@intel.com>2019-05-20 14:46:43 -0500
committerMark Brown <broonie@kernel.org>2019-05-21 19:58:34 +0100
commitb385256eb54f0193f0f595a675409ba6e7282ffe (patch)
treed36cb244f197f119bc82b06c8353f22170247af1 /sound/soc/intel
parent383d30e72e682021fdaf0371ade1c58ad2c434a4 (diff)
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 <sathya.prakash.m.r@intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel')
-rw-r--r--sound/soc/intel/boards/sof_rt5682.c1
1 files changed, 1 insertions, 0 deletions
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++;