]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: Intel: hda: Use generic function for fw ready / mem windows creation
authorDaniel Baluta <daniel.baluta@nxp.com>
Wed, 7 Aug 2019 15:02:03 +0000 (10:02 -0500)
committerMark Brown <broonie@kernel.org>
Fri, 9 Aug 2019 12:25:22 +0000 (13:25 +0100)
commit51518847c758b30f7a0dd3cd5872e8719bdad117
treeb48ee4fa4d0e297aed553a7d69802453a0f7dc57
parentb6e2f69aa7024e89f772d20b338dc050393855af
ASoC: SOF: Intel: hda: Use generic function for fw ready / mem windows creation

We can use generic sof_fw_ready function and reduce code duplication.
Careful here that we need to provide the implementation for
get_mailbox_offset and get_window_offset.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20190807150203.26359-7-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/apl.c
sound/soc/sof/intel/cnl.c
sound/soc/sof/intel/hda-ipc.c
sound/soc/sof/intel/hda.h