mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-09-22 09:34:56 +02:00
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>
This commit is contained in:
@@ -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++;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user