Commit 0d8173f2 authored by Lubomir Rintel's avatar Lubomir Rintel Committed by Vinod Koul

dmaengine: mmp_tdma: Drop "mmp_tdma: from error messages

Drop a redundant "mmp_tdma:" from some error messages. The dev_err()
appends mostly the same thing for us:

  [  120.756530] mmp-tdma d42a0800.adma: mmp_tdma: unknown burst size.
Signed-off-by: default avatarLubomir Rintel <lkundrak@v3.sk>
Link: https://lore.kernel.org/r/20200419164912.670973-3-lkundrak@v3.skSigned-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent a02254f8
...@@ -235,7 +235,7 @@ static int mmp_tdma_config_chan(struct dma_chan *chan) ...@@ -235,7 +235,7 @@ static int mmp_tdma_config_chan(struct dma_chan *chan)
tdcr |= TDCR_BURSTSZ_128B; tdcr |= TDCR_BURSTSZ_128B;
break; break;
default: default:
dev_err(tdmac->dev, "mmp_tdma: unknown burst size.\n"); dev_err(tdmac->dev, "unknown burst size.\n");
return -EINVAL; return -EINVAL;
} }
...@@ -250,7 +250,7 @@ static int mmp_tdma_config_chan(struct dma_chan *chan) ...@@ -250,7 +250,7 @@ static int mmp_tdma_config_chan(struct dma_chan *chan)
tdcr |= TDCR_SSZ_32_BITS; tdcr |= TDCR_SSZ_32_BITS;
break; break;
default: default:
dev_err(tdmac->dev, "mmp_tdma: unknown bus size.\n"); dev_err(tdmac->dev, "unknown bus size.\n");
return -EINVAL; return -EINVAL;
} }
} else if (tdmac->type == PXA910_SQU) { } else if (tdmac->type == PXA910_SQU) {
...@@ -276,7 +276,7 @@ static int mmp_tdma_config_chan(struct dma_chan *chan) ...@@ -276,7 +276,7 @@ static int mmp_tdma_config_chan(struct dma_chan *chan)
tdcr |= TDCR_BURSTSZ_SQU_32B; tdcr |= TDCR_BURSTSZ_SQU_32B;
break; break;
default: default:
dev_err(tdmac->dev, "mmp_tdma: unknown burst size.\n"); dev_err(tdmac->dev, "unknown burst size.\n");
return -EINVAL; return -EINVAL;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment