Skip to content

Commit 5186933

Browse files
bagasmeKernel Patches Daemon
authored andcommitted
ASoC: doc: Internally link to Writing an ALSA Driver docs
ASoC codec and platform driver docs contain reference to writing ALSA driver docs, as an external link. Use :doc: directive for the job instead. Signed-off-by: Bagas Sanjaya <[email protected]>
1 parent 71eaffb commit 5186933

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Documentation/sound/soc/codec.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ The codec driver also supports the following ALSA PCM operations:-
131131
int (*prepare)(struct snd_pcm_substream *);
132132
};
133133

134-
Please refer to the ALSA driver PCM documentation for details.
135-
https://www.kernel.org/doc/html/latest/sound/kernel-api/writing-an-alsa-driver.html
134+
Please refer to the :doc:`ALSA driver PCM documentation
135+
<../kernel-api/writing-an-alsa-driver>` for details.
136136

137137

138138
DAPM description

Documentation/sound/soc/platform.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ snd_soc_component_driver:-
4545
...
4646
};
4747

48-
Please refer to the ALSA driver documentation for details of audio DMA.
49-
https://www.kernel.org/doc/html/latest/sound/kernel-api/writing-an-alsa-driver.html
48+
Please refer to the :doc:`ALSA driver documentation
49+
<../kernel-api/writing-an-alsa-driver>` for details of audio DMA.
5050

5151
An example DMA driver is soc/pxa/pxa2xx-pcm.c
5252

0 commit comments

Comments
 (0)