ASoC: SOF: Intel: check fw_context_save for library reload
authorRander Wang <rander.wang@intel.com>
Fri, 15 Dec 2023 08:31:02 +0000 (16:31 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 15 Dec 2023 12:57:57 +0000 (12:57 +0000)
commit3a0e7bb86f8728d94d55c56fb73e86be7976c163
tree79588c3e75668b6b09a03c35fa6a1e60bfe8eff4
parent855a4772be9dc777cbcd580c8a07d9c54908219b
ASoC: SOF: Intel: check fw_context_save for library reload

If fw_context_save is defined by fw, driver can skip library reload on
d3 exit or reload library.

Signed-off-by: Rander Wang <rander.wang@intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://msgid.link/r/20231215083102.3064200-4-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda-loader.c