1
0
Fork 0
alistair23-linux/drivers/net/can/peak_canfd
Stephane Grosjean 5592cd0390 can: peak_canfd: rearrange the way resources are released
This patch improves the sequence the resources are released by, first,

- disabling the IRQ in the controller, then by
- resetting the DMA logic, and finally, by
- adding a read cycle to ensure that the above commands have been received

before freeing the system interrupt.

Signed-off-by: Stephane Grosjean <s.grosjean@peak-system.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2018-07-27 10:40:18 +02:00
..
Kconfig
Makefile
peak_canfd.c can: peak_canfd: improves 32-bit alignment 2018-07-27 10:40:18 +02:00
peak_canfd_user.h
peak_pciefd_main.c can: peak_canfd: rearrange the way resources are released 2018-07-27 10:40:18 +02:00