Commit 7b3fe2c
committed
dmaengine: amd: qdma: Remove using the private get and set dma_ops APIs
commit dcbef07
Author: Lizhi Hou <lizhi.hou@amd.com>
Date: Wed Sep 18 11:10:22 2024 -0700
dmaengine: amd: qdma: Remove using the private get and set dma_ops APIs
The get_dma_ops and set_dma_ops APIs were never for driver to use. Remove
these calls from QDMA driver. Instead, pass the DMA device pointer from the
qdma_platdata structure.
Fixes: 73d5fc9 ("dmaengine: amd: qdma: Add AMD QDMA driver")
Signed-off-by: Lizhi Hou <lizhi.hou@amd.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20240918181022.2155715-1-lizhi.hou@amd.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
(cherry picked from commit dcbef07)
Signed-off-by: Jerry Snitselaar <jsnitsel@redhat.com>
JIRA: https://issues.redhat.com/browse/RHEL-78703
Upstream-Status: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git1 parent b2396f4 commit 7b3fe2c
File tree
2 files changed
+14
-16
lines changed- drivers/dma/amd/qdma
- include/linux/platform_data
2 files changed
+14
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | | - | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
496 | 496 | | |
497 | 497 | | |
498 | 498 | | |
499 | | - | |
500 | 499 | | |
501 | 500 | | |
502 | 501 | | |
503 | | - | |
504 | | - | |
505 | | - | |
506 | | - | |
507 | | - | |
508 | | - | |
509 | | - | |
510 | | - | |
511 | 502 | | |
512 | 503 | | |
513 | 504 | | |
| |||
552 | 543 | | |
553 | 544 | | |
554 | 545 | | |
555 | | - | |
| 546 | + | |
556 | 547 | | |
557 | 548 | | |
558 | 549 | | |
559 | | - | |
| 550 | + | |
| 551 | + | |
560 | 552 | | |
561 | 553 | | |
562 | 554 | | |
| |||
569 | 561 | | |
570 | 562 | | |
571 | 563 | | |
| 564 | + | |
572 | 565 | | |
573 | 566 | | |
574 | 567 | | |
575 | 568 | | |
576 | 569 | | |
577 | 570 | | |
578 | 571 | | |
| 572 | + | |
579 | 573 | | |
580 | | - | |
| 574 | + | |
581 | 575 | | |
582 | 576 | | |
583 | 577 | | |
| |||
592 | 586 | | |
593 | 587 | | |
594 | 588 | | |
595 | | - | |
| 589 | + | |
596 | 590 | | |
597 | 591 | | |
598 | 592 | | |
| |||
952 | 946 | | |
953 | 947 | | |
954 | 948 | | |
955 | | - | |
| 949 | + | |
956 | 950 | | |
| 951 | + | |
957 | 952 | | |
958 | 953 | | |
959 | 954 | | |
| |||
973 | 968 | | |
974 | 969 | | |
975 | 970 | | |
976 | | - | |
| 971 | + | |
| 972 | + | |
977 | 973 | | |
978 | 974 | | |
979 | 975 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| 35 | + | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
0 commit comments