]> www.infradead.org Git - users/jedix/linux-maple.git/commit
firewire: ohci: use inline functions to operate data of self-ID DMA
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 2 Jul 2024 22:20:33 +0000 (07:20 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Wed, 3 Jul 2024 23:12:48 +0000 (08:12 +0900)
commit4a13617ef311cb01160bdecfa338e2148940059c
tree516e3a43d531cbcfb7807da21c087b55386a91eb
parent7a14f78d70dd9fde77275a3cc9427de862969c4c
firewire: ohci: use inline functions to operate data of self-ID DMA

The code of 1394 OHCI driver includes hard-coded magic number to operate
data of Self-ID DMA.

This commit replaces them with the inline functions added/tested in the
former commit.

Link: https://lore.kernel.org/r/20240702222034.1378764-5-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
drivers/firewire/ohci.c
drivers/firewire/ohci.h