Commit 5bcfd9a
committed
audio: dai: Pass bespoke config size through dai_set_config chain
Update dai_set_config() to accept and propagate the size parameter
for bespoke DAI configuration data, matching the updated Zephyr
DAI driver API.
Changes:
- Add size_t size parameter to dai_set_config() function
- Update dai_set_config() signature in dai-zephyr.h header
- Pass copier_cfg->gtw_cfg.config_length as size in IPC4 dai_config()
- Forward size parameter to dai_config_set() Zephyr driver API call
This change completes the integration with the new Zephyr DAI API
that requires explicit size validation for bespoke configuration
blobs, enabling proper bounds checking in DAI drivers.
Signed-off-by: Adrian Bonislawski <adrian.bonislawski@intel.com>1 parent 5a14518 commit 5bcfd9a
File tree
3 files changed
+4
-4
lines changed- src
- audio
- include/sof/lib
- ipc/ipc4
3 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
| 201 | + | |
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | | - | |
| 240 | + | |
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
396 | 396 | | |
397 | 397 | | |
398 | 398 | | |
399 | | - | |
| 399 | + | |
400 | 400 | | |
401 | 401 | | |
402 | 402 | | |
| |||
0 commit comments