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:
Tomasz Moń 2023-10-02 13:29:54 +02:00 committed by Anas Nashif
commit 113600eb4b

View file

@ -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;
}