dai-zephyr: fix dai_get_fifo_depth

This will fix dai_get_fifo_depth() and return correct value

Signed-off-by: Adrian Bonislawski <adrian.bonislawski@intel.com>
This commit is contained in:
Adrian Bonislawski 2022-09-02 16:23:15 +02:00 committed by Liam Girdwood
parent 50e9b3069f
commit 55f4a29f24
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ int dai_get_fifo_depth(struct dai *dai, int direction)
{
const struct dai_properties *props = dai_get_properties(dai->dev, direction, 0);
return props->fifo_address;
return props->fifo_depth;
}
int dai_get_stream_id(struct dai *dai, int direction)