Commit 2b245c9
committed
drm/dp_mst: Reset message rx state after OOM in drm_dp_mst_handle_up_req()
After an out-of-memory error the reception state should be reset, so
that the next attempt receiving a message doesn't fail (due to getting a
start-of-message packet, while the reception state has already the
start-of-message flag set).
Cc: Lyude Paul <lyude@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241203160223.2926014-7-imre.deak@intel.com1 parent e54b000 commit 2b245c9
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4110 | 4110 | | |
4111 | 4111 | | |
4112 | 4112 | | |
| 4113 | + | |
4113 | 4114 | | |
4114 | 4115 | | |
4115 | 4116 | | |
| |||
4118 | 4119 | | |
4119 | 4120 | | |
4120 | 4121 | | |
4121 | | - | |
4122 | | - | |
| 4122 | + | |
| 4123 | + | |
| 4124 | + | |
| 4125 | + | |
4123 | 4126 | | |
4124 | 4127 | | |
4125 | 4128 | | |
| |||
4186 | 4189 | | |
4187 | 4190 | | |
4188 | 4191 | | |
4189 | | - | |
| 4192 | + | |
4190 | 4193 | | |
4191 | 4194 | | |
4192 | 4195 | | |
| |||
0 commit comments