[PATCH v2 06/25] ASoC: hdmi-codec: use helper function