Looks good, but I think start and stop can be a single trigger like PCM op, something like:
int (*load_dsp_trigger)(struct hda_bus *bus, bool start);
The second argument could be a generic int like PCM op, but I don't think we'd need pause or suspend/resume command for DSP loader :)
Hi Takashi,
The proposed method for handling the DSP load process looks fine to us, and we can make a start on adding this to the CA0132 driver now.
We can update patch_ca0132.c, but would you be able to assist us with the modifications to the hda_intel.c side at all? We think it might result in a smoother process (and involving fewer submissions :) ) given your familiarity with the low-level architecture in that area.
If not, we'd appreciate any info or pointers you can provide on how and where the necessary modifications need to be made to hda_intel.c.
Thanks again for all your help with this. Ian