Commit 8320442
committed
firewire: ohci: use devres for misc DMA buffer
The 1394 OHCI driver allocates a DMA coherent buffer for multi-purposes.
The buffer is split into three region for specific purposes; i.e. 1/4 for
context descriptors of AR request and response as well as 1/2 for self
ID handling.
This commit uses managed device resource to maintain the lifetime of
buffer.
Link: https://lore.kernel.org/r/20230604054451.161076-5-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>1 parent 086a0af commit 8320442
1 file changed
+3
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3634 | 3634 | | |
3635 | 3635 | | |
3636 | 3636 | | |
3637 | | - | |
3638 | | - | |
3639 | | - | |
3640 | | - | |
| 3637 | + | |
| 3638 | + | |
3641 | 3639 | | |
3642 | 3640 | | |
3643 | 3641 | | |
3644 | 3642 | | |
3645 | 3643 | | |
3646 | 3644 | | |
3647 | | - | |
| 3645 | + | |
3648 | 3646 | | |
3649 | 3647 | | |
3650 | 3648 | | |
| |||
3736 | 3734 | | |
3737 | 3735 | | |
3738 | 3736 | | |
3739 | | - | |
3740 | | - | |
3741 | | - | |
3742 | 3737 | | |
3743 | 3738 | | |
3744 | 3739 | | |
| |||
3774 | 3769 | | |
3775 | 3770 | | |
3776 | 3771 | | |
3777 | | - | |
3778 | | - | |
3779 | 3772 | | |
3780 | 3773 | | |
3781 | 3774 | | |
| |||
0 commit comments