* [PATCH -next] dmaengine: ti: k3-udma: Remove unused declarations
@ 2023-08-11 12:32 Yue Haibing
2023-08-11 15:07 ` Péter Ujfalusi
0 siblings, 1 reply; 4+ messages in thread
From: Yue Haibing @ 2023-08-11 12:32 UTC (permalink / raw)
To: peter.ujfalusi, vkoul, yuehaibing; +Cc: dmaengine, linux-kernel
Commit d70241913413 ("dmaengine: ti: k3-udma: Add glue layer for non DMAengine users")
declared but never implemented these.
Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
drivers/dma/ti/k3-udma.h | 1 -
include/linux/dma/k3-udma-glue.h | 2 --
2 files changed, 3 deletions(-)
diff --git a/drivers/dma/ti/k3-udma.h b/drivers/dma/ti/k3-udma.h
index d349c6d482ae..9062a237cd16 100644
--- a/drivers/dma/ti/k3-udma.h
+++ b/drivers/dma/ti/k3-udma.h
@@ -131,7 +131,6 @@ int xudma_navss_psil_unpair(struct udma_dev *ud, u32 src_thread,
struct udma_dev *of_xudma_dev_get(struct device_node *np, const char *property);
struct device *xudma_get_device(struct udma_dev *ud);
struct k3_ringacc *xudma_get_ringacc(struct udma_dev *ud);
-void xudma_dev_put(struct udma_dev *ud);
u32 xudma_dev_get_psil_base(struct udma_dev *ud);
struct udma_tisci_rm *xudma_dev_get_tisci_rm(struct udma_dev *ud);
diff --git a/include/linux/dma/k3-udma-glue.h b/include/linux/dma/k3-udma-glue.h
index e443be4d3b4b..57d6e7e1e091 100644
--- a/include/linux/dma/k3-udma-glue.h
+++ b/include/linux/dma/k3-udma-glue.h
@@ -126,8 +126,6 @@ u32 k3_udma_glue_rx_flow_get_fdq_id(struct k3_udma_glue_rx_channel *rx_chn,
u32 k3_udma_glue_rx_get_flow_id_base(struct k3_udma_glue_rx_channel *rx_chn);
int k3_udma_glue_rx_get_irq(struct k3_udma_glue_rx_channel *rx_chn,
u32 flow_num);
-void k3_udma_glue_rx_put_irq(struct k3_udma_glue_rx_channel *rx_chn,
- u32 flow_num);
void k3_udma_glue_reset_rx_chn(struct k3_udma_glue_rx_channel *rx_chn,
u32 flow_num, void *data,
void (*cleanup)(void *data, dma_addr_t desc_dma),
--
2.34.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH -next] dmaengine: ti: k3-udma: Remove unused declarations
2023-08-11 12:32 [PATCH -next] dmaengine: ti: k3-udma: Remove unused declarations Yue Haibing
@ 2023-08-11 15:07 ` Péter Ujfalusi
0 siblings, 0 replies; 4+ messages in thread
From: Péter Ujfalusi @ 2023-08-11 15:07 UTC (permalink / raw)
To: Yue Haibing, vkoul; +Cc: dmaengine, linux-kernel
On 11/08/2023 15:32, Yue Haibing wrote:
> Commit d70241913413 ("dmaengine: ti: k3-udma: Add glue layer for non DMAengine users")
> declared but never implemented these.
Acked-by: Peter Ujfalusi <peter.ujfalusi@gmail.com>
>
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> ---
> drivers/dma/ti/k3-udma.h | 1 -
> include/linux/dma/k3-udma-glue.h | 2 --
> 2 files changed, 3 deletions(-)
>
> diff --git a/drivers/dma/ti/k3-udma.h b/drivers/dma/ti/k3-udma.h
> index d349c6d482ae..9062a237cd16 100644
> --- a/drivers/dma/ti/k3-udma.h
> +++ b/drivers/dma/ti/k3-udma.h
> @@ -131,7 +131,6 @@ int xudma_navss_psil_unpair(struct udma_dev *ud, u32 src_thread,
> struct udma_dev *of_xudma_dev_get(struct device_node *np, const char *property);
> struct device *xudma_get_device(struct udma_dev *ud);
> struct k3_ringacc *xudma_get_ringacc(struct udma_dev *ud);
> -void xudma_dev_put(struct udma_dev *ud);
> u32 xudma_dev_get_psil_base(struct udma_dev *ud);
> struct udma_tisci_rm *xudma_dev_get_tisci_rm(struct udma_dev *ud);
>
> diff --git a/include/linux/dma/k3-udma-glue.h b/include/linux/dma/k3-udma-glue.h
> index e443be4d3b4b..57d6e7e1e091 100644
> --- a/include/linux/dma/k3-udma-glue.h
> +++ b/include/linux/dma/k3-udma-glue.h
> @@ -126,8 +126,6 @@ u32 k3_udma_glue_rx_flow_get_fdq_id(struct k3_udma_glue_rx_channel *rx_chn,
> u32 k3_udma_glue_rx_get_flow_id_base(struct k3_udma_glue_rx_channel *rx_chn);
> int k3_udma_glue_rx_get_irq(struct k3_udma_glue_rx_channel *rx_chn,
> u32 flow_num);
> -void k3_udma_glue_rx_put_irq(struct k3_udma_glue_rx_channel *rx_chn,
> - u32 flow_num);
> void k3_udma_glue_reset_rx_chn(struct k3_udma_glue_rx_channel *rx_chn,
> u32 flow_num, void *data,
> void (*cleanup)(void *data, dma_addr_t desc_dma),
--
Péter
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH -next] dmaengine: ti: k3-udma: Remove unused declarations
2024-08-10 9:45 Yue Haibing
@ 2024-08-28 18:16 ` Vinod Koul
0 siblings, 0 replies; 4+ messages in thread
From: Vinod Koul @ 2024-08-28 18:16 UTC (permalink / raw)
To: peter.ujfalusi, s-vadapalli, Yue Haibing; +Cc: dmaengine, linux-kernel
On Sat, 10 Aug 2024 17:45:40 +0800, Yue Haibing wrote:
> Commit d70241913413 ("dmaengine: ti: k3-udma: Add glue layer for non DMAengine users")
> declared but never implemented these.
>
>
Applied, thanks!
[1/1] dmaengine: ti: k3-udma: Remove unused declarations
commit: 4bb59323450db610b06c549fa4d5936e94fb9a36
Best regards,
--
~Vinod
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH -next] dmaengine: ti: k3-udma: Remove unused declarations
@ 2024-08-10 9:45 Yue Haibing
2024-08-28 18:16 ` Vinod Koul
0 siblings, 1 reply; 4+ messages in thread
From: Yue Haibing @ 2024-08-10 9:45 UTC (permalink / raw)
To: peter.ujfalusi, vkoul, yuehaibing, s-vadapalli; +Cc: dmaengine, linux-kernel
Commit d70241913413 ("dmaengine: ti: k3-udma: Add glue layer for non DMAengine users")
declared but never implemented these.
Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@gmail.com>
---
drivers/dma/ti/k3-udma.h | 1 -
include/linux/dma/k3-udma-glue.h | 2 --
2 files changed, 3 deletions(-)
diff --git a/drivers/dma/ti/k3-udma.h b/drivers/dma/ti/k3-udma.h
index d349c6d482ae..9062a237cd16 100644
--- a/drivers/dma/ti/k3-udma.h
+++ b/drivers/dma/ti/k3-udma.h
@@ -131,7 +131,6 @@ int xudma_navss_psil_unpair(struct udma_dev *ud, u32 src_thread,
struct udma_dev *of_xudma_dev_get(struct device_node *np, const char *property);
struct device *xudma_get_device(struct udma_dev *ud);
struct k3_ringacc *xudma_get_ringacc(struct udma_dev *ud);
-void xudma_dev_put(struct udma_dev *ud);
u32 xudma_dev_get_psil_base(struct udma_dev *ud);
struct udma_tisci_rm *xudma_dev_get_tisci_rm(struct udma_dev *ud);
diff --git a/include/linux/dma/k3-udma-glue.h b/include/linux/dma/k3-udma-glue.h
index 1e491c5dcac2..2dea217629d0 100644
--- a/include/linux/dma/k3-udma-glue.h
+++ b/include/linux/dma/k3-udma-glue.h
@@ -136,8 +136,6 @@ u32 k3_udma_glue_rx_flow_get_fdq_id(struct k3_udma_glue_rx_channel *rx_chn,
u32 k3_udma_glue_rx_get_flow_id_base(struct k3_udma_glue_rx_channel *rx_chn);
int k3_udma_glue_rx_get_irq(struct k3_udma_glue_rx_channel *rx_chn,
u32 flow_num);
-void k3_udma_glue_rx_put_irq(struct k3_udma_glue_rx_channel *rx_chn,
- u32 flow_num);
void k3_udma_glue_reset_rx_chn(struct k3_udma_glue_rx_channel *rx_chn,
u32 flow_num, void *data,
void (*cleanup)(void *data, dma_addr_t desc_dma),
--
2.34.1
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-08-28 18:17 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-11 12:32 [PATCH -next] dmaengine: ti: k3-udma: Remove unused declarations Yue Haibing
2023-08-11 15:07 ` Péter Ujfalusi
2024-08-10 9:45 Yue Haibing
2024-08-28 18:16 ` Vinod Koul
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®