ASoC: wm_adsp: Factor out parsing of firmware ID header
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Tue, 19 Mar 2019 11:52:11 +0000 (11:52 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 19 Mar 2019 12:40:25 +0000 (12:40 +0000)
commita5dcb24d70ffbb4ea47b8eefad1158d033b9dec9
treed9c1ce19979c41b5faf040221539194c2849e072
parent4049ce86fc9b0512d4f624bb8b63c8f513fb66d1
ASoC: wm_adsp: Factor out parsing of firmware ID header

There is no need to duplicate this code for both ADSP1 and 2 as the
handling is exactly the same.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm_adsp.c