Commit 90cd350
drivers: serial: fix console hang when waken up from PM3
The console can't input when waken up from PM3, as get the wrong
usart_intenset when process PM_DEVICE_ACTION_TURN_ON and the
USART interrupt is not enabled. Only saving usart_intenset after
PM action of PM_DEVICE_ACTION_TURN_OFF can fix this issue.
Signed-off-by: Maochen Wang <maochen.wang@nxp.com>1 parent db4344b commit 90cd350
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1123 | 1123 | | |
1124 | 1124 | | |
1125 | 1125 | | |
1126 | | - | |
1127 | | - | |
1128 | 1126 | | |
1129 | 1127 | | |
1130 | 1128 | | |
1131 | 1129 | | |
1132 | 1130 | | |
1133 | 1131 | | |
| 1132 | + | |
1134 | 1133 | | |
1135 | 1134 | | |
1136 | 1135 | | |
| |||
0 commit comments