btfmcodec: Notify ADSP SSR to host

This change notifies ADSP SSR to host when it completely
boots up.

Change-Id: Icfa5a895a6f31e662ba4e7d2b818a7a75854f248
Signed-off-by: Balakrishna Godavarthi <quic_bgodavar@quicinc.com>
This commit is contained in:
Balakrishna Godavarthi
2023-06-08 14:17:21 +05:30
parent 818edfe5ac
commit fd58910c2d
3 changed files with 61 additions and 0 deletions

View File

@@ -86,12 +86,18 @@ struct btfmcodec_char_device {
void *btfmcodec;
};
struct adsp_notifier {
void *notifier;
struct notifier_block nb;
};
struct btfmcodec_data {
struct device dev;
struct btfmcodec_state_machine states;
struct btfmcodec_char_device *btfmcodec_dev;
struct hwep_data *hwep_info;
struct list_head config_head;
struct adsp_notifier notifier;
};
struct btfmcodec_data *btfm_get_btfmcodec(void);