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

bdw_get_windows / bdw_fw_ready is identical with the generic
implementation introduced in a previous patch.

So remove bdw_get_windows / bdw_fw_ready and use the generic
sof_get_windows version.

Do not forget to implement get_mailbox_offset/get_window_offset
so that we export the correct mailbox/memory window offset to
the outside world.

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-6-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/bdw.c