drivers: i2s: use new k_mem_slab definition
Commit 2f003e59e4
("kernel: Re-factor k_mem_slab definition") moved
block_size into from k_mem_slab to k_mem_slab_info without updating i2s
handlers. Use the new member to fix build failures.
Fixes: #63363
Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>
This commit is contained in:
parent
2c6fd67d59
commit
113600eb4b
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ static inline int z_vrfy_i2s_configure(const struct device *dev,
|
|||
/* Ensure that the k_mem_slab's slabs are large enough for the
|
||||
* specified block size
|
||||
*/
|
||||
if (config.block_size > config.mem_slab->block_size) {
|
||||
if (config.block_size > config.mem_slab->info.block_size) {
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue