drivers: audio: Port to the new timeout API
Port the I2S and DMIC drivers to the new timeout API so that they do not need to enable legacy timeouts. Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
parent
8e297e87b3
commit
9ba20dd48e
8 changed files with 20 additions and 15 deletions
|
@ -273,7 +273,8 @@ static inline int dmic_trigger(struct device *dev, enum dmic_trigger cmd)
|
|||
* @param stream Stream identifier
|
||||
* @param buffer Pointer to the received buffer address
|
||||
* @param size Pointer to the received buffer size
|
||||
* @param timeout Timeout value to wait in case audio is not yet received
|
||||
* @param timeout Timeout in milliseconds to wait in case audio is not yet
|
||||
* received, or @ref SYS_FOREVER_MS
|
||||
*
|
||||
* @return 0 on success, a negative error code on failure
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue