Commit b601cb4
committed
lib: mailbox: add assert to catch mailbox_stream_write() use in IPC4
To prevent any accidental use in new code, add an assert to
mailbox_stream_write() against use in IPC4 builds. The "stream mailbox"
is not available in IPC4 mailbox layout, so it must not be used.
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>1 parent 4eb07c1 commit b601cb4
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
103 | 111 | | |
104 | 112 | | |
105 | 113 | | |
| |||
110 | 118 | | |
111 | 119 | | |
112 | 120 | | |
| 121 | + | |
113 | 122 | | |
114 | 123 | | |
0 commit comments