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