ASoC: SOF: Intel: hda-loader: clear the IPC ack bit after FW_PURGE done
authorKeyon Jie <yang.jie@linux.intel.com>
Fri, 28 Feb 2020 23:18:49 +0000 (17:18 -0600)
committerMark Brown <broonie@kernel.org>
Mon, 2 Mar 2020 14:13:49 +0000 (14:13 +0000)
commit8354d9b44530b5f534146668ae641572dede79a4
tree9a63f4de62fba3341f2dcd2281f5aed7ec67382c
parent1919b42ca4ad75a2397081164661af3ce5a7b8f4
ASoC: SOF: Intel: hda-loader: clear the IPC ack bit after FW_PURGE done

Set DONE bit after the FW_PURGE IPC is polled successfully, to clear the
interrupt and avoid the arrival of the confusing unexpected ipc.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Link: https://lore.kernel.org/r/20200228231850.9226-4-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda-loader.c