ASoC: Intel: Skylake: split fw and dsp initialization
The DSP instance creation also loads the firmware on DSPs. For library load the firmware names come from topology so can't be loaded at object creation. So split the firmware load and object creation. FW load is now called after topology init in platform probe. Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
@@ -105,6 +105,7 @@ struct skl_dsp_ops {
|
||||
int irq, const char *fw_name,
|
||||
struct skl_dsp_loader_ops loader_ops,
|
||||
struct skl_sst **skl_sst);
|
||||
int (*init_fw)(struct device *dev, struct skl_sst *ctx);
|
||||
void (*cleanup)(struct device *dev, struct skl_sst *ctx);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user