[PATCH 4/7] ASoC: SOF: Intel: move common code from hda.c