A deadlock occurs for priv->lock when uart_xmitchars is called from within imx9_txint. This is because uart_xmitchars does a callback to imx9_txint and tries to acquire the lock again. However, there is no reason to hold the lock over uart_xmitchars, as it has its own lock for mutual exclusion. Only the UART device needs to be protected, and priv->lock does that. Signed-off-by: Ville Juven <ville.juven@unikie.com> |
||
|---|---|---|
| .. | ||
| include | ||
| src | ||
| CMakeLists.txt | ||
| Kconfig | ||