Skip to content
Commit 83743250 authored by Kai Vehmanen's avatar Kai Vehmanen Committed by Carles Cufí
Browse files

drivers: dai: intel: dmic: don't use assert for error handling

The dai.h interface does not prohibit calling dai_config_get()
with different direction values. The dmic driver should handle
invalid direction value explicitly and not rely on an assert.

Link: https://github.com/thesofproject/sof/issues/6896


Signed-off-by: default avatarKai Vehmanen <kai.vehmanen@linux.intel.com>
parent d8ac6585
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment