mirror of https://github.com/thesofproject/sof.git
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:
parent
50e9b3069f
commit
55f4a29f24
|
@ -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);
|
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)
|
int dai_get_stream_id(struct dai *dai, int direction)
|
||||||
|
|
Loading…
Reference in New Issue