summaryrefslogtreecommitdiff
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorStephane Grosjean <s.grosjean@peak-system.com>2018-06-21 16:23:30 +0300
committerMarc Kleine-Budde <mkl@pengutronix.de>2018-07-27 11:40:18 +0300
commit5592cd0390741e6fecfc7908baaeadb4682f3c48 (patch)
tree01536d73e949f792b35fbc5f55a015bad222e58e /include/linux/platform_data
parentd31f8513f252e25be3d4e64fe99d1efd5da3c83a (diff)
downloadlinux-5592cd0390741e6fecfc7908baaeadb4682f3c48.tar.xz
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 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions