[Sound-open-firmware] [RFC 02/12] ASoC: SOF: extract firmware-related operation into a function