commit | 6d08944ac117f7af609c2e8f1daddb254d47ef40 | [log] [tgz] |
---|---|---|
author | Henrik Brix Andersen <hebad@vestas.com> | Wed Sep 21 15:49:58 2022 +0200 |
committer | Fabio Baltieri <fabio.baltieri@gmail.com> | Fri Sep 23 17:25:01 2022 +0000 |
tree | f363d52039dcf729d1eef58d8070526da2f9c843 | |
parent | f239c3d0e99236cb354a38971bdf11b47f4322a3 [diff] |
drivers: can: mcp2515: abort transfers before entering configuration mode Abort any pending transmissions before entering configuration mode and notify the senders. Poll for mode change completion instead of assuming mode changes take immediate effect. This is needed for successfully entering configuration mode with recently aborted transmissions. Fixes: #50545 Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>