diff options
author | Stephane Grosjean <s.grosjean@peak-system.com> | 2018-06-21 15:23:30 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2018-07-27 10:40:18 +0200 |
commit | 5592cd0390741e6fecfc7908baaeadb4682f3c48 (patch) | |
tree | 01536d73e949f792b35fbc5f55a015bad222e58e /drivers/infiniband | |
parent | d31f8513f252e25be3d4e64fe99d1efd5da3c83a (diff) | |
download | linux-next-5592cd0390741e6fecfc7908baaeadb4682f3c48.tar.gz |
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>
Diffstat (limited to 'drivers/infiniband')
0 files changed, 0 insertions, 0 deletions