[PATCH v2] ASoC: doc: Fix bracket and wording

Manuel Ebner posted 1 patch 3 weeks ago
Documentation/sound/soc/dpcm.rst | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
[PATCH v2] ASoC: doc: Fix bracket and wording
Posted by Manuel Ebner 3 weeks ago
Change wording to make sense.
'above' -> 'here' in placeholder which already is above the code block.

Signed-off-by: Manuel Ebner <manuelebnerli@mailbox.org>
---
[v2]
 - rearrange lines in diff
 - fix commit message

[v1]
 https://lore.kernel.org/all/20260902150510.706055-2-manuelebnerli@mailbox.org/

I guess the line is to show that there are more DAI links _above_ the code
block. But it's already above, thus change 'above' -> 'here'
Let me know if I misunderstood.

Thanks
---
 Documentation/sound/soc/dpcm.rst | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Documentation/sound/soc/dpcm.rst b/Documentation/sound/soc/dpcm.rst
index 7b6aeab3c..0302a89cb 100644
--- a/Documentation/sound/soc/dpcm.rst
+++ b/Documentation/sound/soc/dpcm.rst
@@ -357,8 +357,7 @@ The machine driver sets some additional parameters to the DAI link i.e.
   };
 
   static struct snd_soc_dai_link dais[] = {
-	< ... more DAI links above ... >
-	{
+        < ... more DAI links here ... >
 		.name = "MODEM",
 		.stream_name = "MODEM",
 		.cpu_dai_name = "dai2",
-- 
2.54.0
Re: [PATCH v2] ASoC: doc: Fix bracket and wording
Posted by Mark Brown 3 weeks ago
On Fri, Sep 04, 2026 at 02:07:37PM +0200, Manuel Ebner wrote:
> Change wording to make sense.
> 'above' -> 'here' in placeholder which already is above the code block.

> I guess the line is to show that there are more DAI links _above_ the code
> block. But it's already above, thus change 'above' -> 'here'
> Let me know if I misunderstood.

>    static struct snd_soc_dai_link dais[] = {
> -	< ... more DAI links above ... >
> -	{
> +        < ... more DAI links here ... >
>  		.name = "MODEM",

You've moved the bit saying more links into the definition of the link
element that's show where you obviously can't have more links since it's
a single element in the array.  Again, I'm confused what you think the
issue is here.