ASoC: dwc: fix typo in comment
PATCH v2 1/1 ASoC: dwc: fix typo in comment
ISR_RXFO means "Status of Data Overrun interrupt for the RX channel" according to the datasheet.
So, the comment should be RX, not TX
--- sound/soc/dwc/dwc-i2s.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/dwc/dwc-i2s.c +1 -1
@@ -138,7 +138,7 @@ static irqreturn_t i2s_irq_handler(int irq, void *dev_id) irq_valid = true; } -/* Error Handling: TX */ +/* Error Handling: RX */ if (isr[i] &ISR_RXFO )
{ dev_err_ratelimited(dev->dev, "RX overrun (ch_id=%d)\n", i);
irq_valid = true;
Signature · 1 line
2.34.1
Quoted 4 lines · Myunguk Kim
ISR_RXFOmeans "Status of Data Overrun interrupt for the RX channel" according to the datasheet.So, the comment should be RX, not TX
Thanks for better description!
The patch title though, I'd like to write it as "ASoC: dwc: correct ISR_RXFO check comment".
Quoted 11 lines
Signed-off-by Myunguk Kim <[email protected]>--- sound/soc/dwc/dwc-i2s.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)sound/soc/dwc/dwc-i2s.c +0
-0
sound/soc/dwc/dwc-i2s.c static irqreturn_t i2s_irq_handler(int irq, void *dev_id) · line 144
Quoted 8 lines
sound/soc/dwc/dwc-i2s.c +1
-1@@ -138,7 +138,7 @@ static irqreturn_t i2s_irq_handler(int irq, void *dev_id) irq_valid = true; } -/* Error Handling: TX */ +/* Error Handling: RX */ if (isr[i] &ISR_RXFO ) {dev_err_ratelimited (dev->dev,"RX overrun (ch_id=%d)\n" , i); irq_valid = true;
In any case,
Signature · 1 line
An old man doll... just what I always wanted! - Clara
Mark Brown
maintainerQuoted 4 lines · Myunguk Kim
ISR_RXFOmeans "Status of Data Overrun interrupt for the RX channel" according to the datasheet.So, the comment should be RX, not TX
This patch still doesn't apply:
Quoted 5 lines
sound/soc/dwc/dwc-i2s.c +1
-1-/* Error Handling: TX */ +/* Error Handling: RX */ if (isr[i] &ISR_RXFO ){
dev_err_ratelimited(dev->dev, "RX overrun (ch_id=%d)\n", i);
The patch is obviously corrupted, the { there should be on the prior line and even fixing that by hand there appear to be some other issues.
Quoted 2 lines
The patch is obviously corrupted, the { there should be on the prior line and even fixing that by hand there appear to be some other issues.
The patch file should have been attached as shown below. Is there a problem with my git send-email?
--- sound/soc/dwc/dwc-i2s.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/dwc/dwc-i2s.c +1 -1
@@ -138,7 +138,7 @@ static irqreturn_t i2s_irq_handler(int irq, void *dev_id) irq_valid = true; } -/* Error Handling: TX */ +/* Error Handling: RX */ if (isr[i] &ISR_RXFO )
{ dev_err_ratelimited(dev->dev, "RX overrun (ch_id=%d)\n", i);
irq_valid = true;
Signature · 2 lines
Thanks, myunguk
Quoted 15 lines · Myunguk Kim
Quoted 2 lines
The patch is obviously corrupted, the { there should be on the prior line and even fixing that by hand there appear to be some other issues.
The patch file should have been attached as shown below. Is there a problem with my git send-email?
--- sound/soc/dwc/dwc-i2s.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)sound/soc/dwc/dwc-i2s.c +0
-0
sound/soc/dwc/dwc-i2s.c static irqreturn_t i2s_irq_handler(int irq, void *dev_id) · line 144
Quoted 8 lines
sound/soc/dwc/dwc-i2s.c +1
-1@@ -138,7 +138,7 @@ static irqreturn_t i2s_irq_handler(int irq, void *dev_id) irq_valid = true; } -/* Error Handling: TX */ +/* Error Handling: RX */ if (isr[i] &ISR_RXFO ) {dev_err_ratelimited (dev->dev,"RX overrun (ch_id=%d)\n" , i); irq_valid = true;
FTR: I get this mail directly (so no mailing list server involved), and the patch is mangled in the same way as broonie pointed out in his mail earlier in this thread.
Best regards
Uwe
Signature · 2 lines
Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | https://www.pengutronix.de/ |
Mark Brown
maintainerQuoted 7 lines · Uwe Kleine-König
Quoted 5 lines · Myunguk Kim
Quoted 2 lines
The patch is obviously corrupted, the { there should be on the prior line and even fixing that by hand there appear to be some other issues.
The patch file should have been attached as shown below. Is there a problem with my git send-email?
Quoted 7 lines
Quoted 3 lines
sound/soc/dwc/dwc-i2s.c +1
-0+/* Error Handling: RX */ if (isr[i] &ISR_RXFO ){
dev_err_ratelimited(dev->dev, "RX overrun (ch_id=%d)\n", i);FTR: I get this mail directly (so no mailing list server involved), and the patch is mangled in the same way as broonie pointed out in his mail earlier in this thread.
Right, same here. I don't know where the problem might be, it's not a pattern I've seen before.