2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 22:24:09 +08:00
linux-next/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_user.h
peak_canfd.c can: peak_canfd: improves 32-bit alignment 2018-07-27 10:40:18 +02:00
peak_pciefd_main.c can: peak_canfd: rearrange the way resources are released 2018-07-27 10:40:18 +02:00