ASoC: mediatek: mt8167: Vesper: Dynamically add the codecs

As the i2c indexes can change depending on various configs, using
hardcoded codec names for the vesper soundcard can causes issues
when switching from mt8167 to mt8516. In order to avoid that,
use the information from the device tree to dynamically add
the codec information that is needed.

BUG: MRI-85

Signed-off-by: Nicolas Belin <nbelin@baylibre.com>
2 files changed