On Tue, 23 Aug 2022 14:24:05 +0200, Peter Ujfalusi wrote: > > The struct nhlt_format's fmt_config is a flexible array, it must not be > used as normal array. > When moving to the next nhlt_fmt_cfg we need to take into account the data > behind the ->config.caps (indicated by ->config.size). > > Fixes: a864e8f159b13 ("ALSA: hda: intel-nhlt: verify config type") > Signed-off-by: Peter Ujfalusi <peter.ujfalusi@xxxxxxxxxxxxxxx> > Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@xxxxxxxxxxxxxxx> > Reviewed-by: Jaska Uimonen <jaska.uimonen@xxxxxxxxxxxxxxx> Thanks, applied now. Takashi