Fix typo in drivers/dma/qcom/bam_dma.c
Subsystems (2)
PATCH 1/1 Fix typo in drivers/dma/qcom/bam_dma.c
From: Kendra Moore <[email protected]>
This patch corrects two spelling errors in this file.
Signed-off-by Kendra Moore <[email protected]>
--- drivers/dma/qcom/bam_dma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/dma/qcom/bam_dma.c +2 -2
@@ -440,7 +440,7 @@ static void bam_reset(struct bam_device *bdev) val |=BAM_EN ;writel_relaxed (val,bam_addr (bdev,0 ,BAM_CTRL )); -/* set descriptor threshhold, start with 4 bytes */ +/* set descriptor threshold, start with 4 bytes */ writel_relaxed (DEFAULT_CNT_THRSHLD ,bam_addr (bdev,0 ,BAM_DESC_CNT_TRSHLD ));
@@ -667,7 +667,7 @@ static struct dma_async_tx_descriptor *bam_prep_slave_sg(struct dma_chan *chan,for_each_sg (sgl, sg, sg_len, i) num_alloc +=DIV_ROUND_UP (sg_dma_len (sg),BAM_FIFO_SIZE ); -/* allocate enough room to accomodate the number of entries */ +/* allocate enough room to accommodate the number of entries */ async_desc =kzalloc (struct_size (async_desc, desc, num_alloc),GFP_NOWAIT );
Signature · 1 line
2.43.0
Quoted 5 lines · On 11/09/24 13:56, [email protected] wrote:
From: Kendra Moore <[email protected]>
This patch corrects two spelling errors in this file.
Signed-off-by Kendra Moore <[email protected]>
Not sure why this was sent to me and not to the maintainers of this code, but it looks correct, so here you go:
Reviewed-by Gustavo A. R. Silva <[email protected]>
To get the list of people and mailing lists your patches should be sent to, run the following command on your patches:
scripts/get_maintainer.pl --nokeywords --nogit --nogit-fallback <path-to-your-patch>
In this case, I ran:
$ scripts/get_maintainer.pl --nokeywords --nogit --nogit-fallback -f drivers/dma/qcom/bam_dma.c Vinod Koul <[email protected]> (maintainer:DMA GENERIC OFFLOAD ENGINE SUBSYSTEM) [email protected] (open list:ARM/QUALCOMM MAILING LIST) [email protected] (open list:DMA GENERIC OFFLOAD ENGINE SUBSYSTEM) [email protected] (open list)
These are all the people and lists you have to send this changes to.
You can also create an alias to avoid typing the script name and options every time.
I hope this helps.
--
Gustavo
Quoted 26 lines
--- drivers/dma/qcom/bam_dma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/dma/qcom/bam_dma.c +2
-2@@ -440,7 +440,7 @@ static void bam_reset(struct bam_device *bdev) val |=BAM_EN ;writel_relaxed (val,bam_addr (bdev,0 ,BAM_CTRL )); -/* set descriptor threshhold, start with 4 bytes */ +/* set descriptor threshold, start with 4 bytes */ writel_relaxed (DEFAULT_CNT_THRSHLD ,bam_addr (bdev,0 ,BAM_DESC_CNT_TRSHLD ));@@ -667,7 +667,7 @@ static struct dma_async_tx_descriptor *bam_prep_slave_sg(struct dma_chan *chan,for_each_sg (sgl, sg, sg_len, i) num_alloc +=DIV_ROUND_UP (sg_dma_len (sg),BAM_FIFO_SIZE ); -/* allocate enough room to accomodate the number of entries */ +/* allocate enough room to accommodate the number of entries */ async_desc =kzalloc (struct_size (async_desc, desc, num_alloc),GFP_NOWAIT );