]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ALSA: ice1724: Remove superfluous loop over model table
authorTakashi Iwai <tiwai@suse.de>
Mon, 12 Jul 2021 09:19:04 +0000 (11:19 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 12 Jul 2021 11:13:15 +0000 (13:13 +0200)
commit3b0f7eeff697b04571a5c6329b7e8fdf8f8c85d9
tree824a436fab162fc37ffd58f0c7fa3070675c4d28
parent2d52c5dd8e80b50501af51d3c03e4e649d31adbe
ALSA: ice1724: Remove superfluous loop over model table

The ice1724 driver looks for the matching card_info entry twice, once
at reading EEPROM and another for the rest tasks in the probe call.
Reduce the second one by referring to the already assigned card_info
entry.

Link: https://lore.kernel.org/r/20210712091904.28022-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ice1712/ice1724.c