aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/ts73xx-fpga.c
diff options
context:
space:
mode:
authorSerge Semin <[email protected]>2023-01-13 20:13:58 +0300
committerBjorn Helgaas <[email protected]>2023-02-10 17:14:42 -0600
commitd0152168538ea05695a403bc424da3e65aca67f3 (patch)
treee49b76f05af50128e6f31f15dcab955e18b21c2b /drivers/fpga/ts73xx-fpga.c
parent00498167650b682a053b85e0e705f59a54f427a3 (diff)
dmaengine: dw-edma: Move eDMA data pointer to debugfs node descriptor
The last thing that stops the debugfs part of the eDMA driver from supporting multi-eDMA platforms is keeping the eDMA private data pointer in the static area of the debugfs module. Since the debugfs node descriptors are now heap-allocated, we can freely move that pointer to being preserved in the descriptors. After the debugfs initialization procedure, that pointer will be used in the debugfs files getter to access the common CSRs space and the context CSRs spinlock. So the main part of this change is connected with the debugfs nodes descriptors initialization macros, which aside with already defined prototypes now require to have the DW eDMA private data pointer passed. [bhelgaas: squash in https://lore.kernel.org/r/[email protected]] Link: https://lore.kernel.org/r/[email protected] Tested-by: Manivannan Sadhasivam <[email protected]> Signed-off-by: Serge Semin <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Manivannan Sadhasivam <[email protected]> Acked-by: Vinod Koul <[email protected]>
Diffstat (limited to 'drivers/fpga/ts73xx-fpga.c')
0 files changed, 0 insertions, 0 deletions