Skip to content
Commit 693abfef authored by Declan Snyder's avatar Declan Snyder Committed by Benjamin Cabé
Browse files

drivers: i2s_mcux_sai: Clean up top of file



Put DT_DRV_COMPAT at top of file by custom

Consolidate logging macros

Clean up checks and use build assert

Remove header file which was not necessary

Remove unnecessary forward declarations

Fix the type of the stream state to be more precise, it is used as the
enum i2s_state type. This requires handling all the enum cases in switch
statements

Signed-off-by: default avatarDeclan Snyder <declan.snyder@nxp.com>
parent 5aeda6fe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment