aboutsummaryrefslogtreecommitdiffstats
path: root/CREDITS
diff options
context:
space:
mode:
authorKarol Trzcinski <karolx.trzcinski@linux.intel.com>2019-12-09 18:48:49 -0600
committerMark Brown <broonie@kernel.org>2019-12-10 13:11:19 +0000
commit6bb03c21e4bfee29e48e480ee4ca7cb1e12f587c (patch)
tree8c3a19e5410b8b69ef81f5d22f333aa4edfe99ed /CREDITS
parentASoC: SOF: loader: snd_sof_fw_parse_ext_data log warning on unknown header (diff)
downloadlinux-dev-6bb03c21e4bfee29e48e480ee4ca7cb1e12f587c.tar.xz
linux-dev-6bb03c21e4bfee29e48e480ee4ca7cb1e12f587c.zip
ASoC: SOF: loader: fix snd_sof_fw_parse_ext_data
An error occurs during parsing more than one ext_data from the mailbox, because of invalid data offset handling. Fix by removing the incorrect duplicate increment of the offset. The return value is also reset in the switch case. This does not change the behavior but improves readability - there is no longer a need to check what the return value of get_ext_windows is. Signed-off-by: Karol Trzcinski <karolx.trzcinski@linux.intel.com> Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20191210004854.16845-4-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions