linux_dsm_epyc7002/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 can: peak: add support for PEAK PCAN-PCIe FD CAN-FD boards 2017-04-25 09:00:45 +02:00
Makefile can: peak: add support for PEAK PCAN-PCIe FD CAN-FD boards 2017-04-25 09:00:45 +02:00
peak_canfd_user.h can: peak: add support for PEAK PCAN-PCIe FD CAN-FD boards 2017-04-25 09:00:45 +02:00
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