diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2022-10-19 19:21:14 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2022-10-20 15:31:42 +0300 |
commit | f90025100fb50552a8281becd8f26aab065d4c31 (patch) | |
tree | fba3b9a54d9c350ac04f543add2b6897ad6c11bc /sound/soc/intel/skylake/skl-pcm.c | |
parent | 26646c199b8cd0be66200fba3fd176c043c25761 (diff) | |
download | linux-f90025100fb50552a8281becd8f26aab065d4c31.tar.xz |
ALSA: hda: hdac_ext_controller: remove useless loop
commit 0b00a5615dc40 ("ALSA: hdac_ext: add hdac extended controller")
introduced a for() loop on the number of HDaudio codecs that seems
completely useless.
a) the body of the loop does not make use of the loop index, and
b) the LSDIID register is related to the SDI line, so there can only
be one codec per multi-link descriptor.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20221019162115.185917-10-pierre-louis.bossart@linux.intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc/intel/skylake/skl-pcm.c')
0 files changed, 0 insertions, 0 deletions