Skip to contentSkip to conversation

ALSA: doc: Add missing headers and compress stuff to alsa-driver-api.tmpl

PATCH In review Takashi Iwai 2 participants 4 messages Oct 28, 2014 – Oct 29, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ALSA: doc: Add missing headers and compress stuff to alsa-driver-api.tmpl

Some header files have kereldoc comments but are not referred properly. Let's add them.

---
 Documentation/DocBook/alsa-driver-api.tmpl | 12 ++++++++++++
 1 file changed, 12 insertions(+)
Documentation/DocBook/alsa-driver-api.tmpl +12 -0
index 0230a96f0564..13f8b241f042 100644
@@ -57,6 +57,7 @@
 !Esound/core/pcm.c
 !Esound/core/pcm_lib.c
 !Esound/core/pcm_native.c
+!include/sound/pcm.h
      </sect1>
      <sect1><title>PCM Format Helpers</title>
 !Esound/core/pcm_misc.c
@@ -64,6 +65,10 @@
      <sect1><title>PCM Memory Management</title>
 !Esound/core/pcm_memory.c
      </sect1>
+     <sect1><title>PCM DMA Engine API</title>
+!Esound/core/pcm_dmaengine.c
+!Iinclude/sound/dmaengine_pcm.h
+     </sect1>
   </chapter>
   <chapter><title>Control/Mixer API</title>
      <sect1><title>General Control Interface</title>
@@ -91,12 +96,19 @@
 !Esound/core/info.c
      </sect1>
   </chapter>
+  <chapter><title>Compress Offload</title>
+     <sect1><title>Compress Offload API</title>
+!Esound/core/compress_offload.c
+!Iinclude/sound/compress_driver.h
+     </sect1>
+  </chapter>
   <chapter><title>Miscellaneous Functions</title>
      <sect1><title>Hardware-Dependent Devices API</title>
 !Esound/core/hwdep.c
      </sect1>
      <sect1><title>Jack Abstraction Layer API</title>
 !Esound/core/jack.c
+!Iinclude/sound/jack.h
      </sect1>
      <sect1><title>ISA DMA Helpers</title>
 !Esound/core/isadma.c
Signature · 1 line
2.1.2
#1 lore raw

PATCH 2/2 ALSA: jack: Fix kerneldoc comments

---
 include/sound/jack.h | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
include/sound/jack.h +3 -2
index 58916573db58..37e612e77410 100644
@@ -28,8 +28,9 @@
 struct input_dev;
 
 /**
- * Jack types which can be reported.  These values are used as a
- * bitmask.
+ * enum snd_jack_types: Jack types which can be reported
+ *
+ * These values are used as a bitmask.
  *
  * Note that this must be kept in sync with the lookup table in
  * sound/core/jack.c.
Signature · 1 line
2.1.2
#2 lore raw
In reply to Takashi Iwai
Quoted 32 lines · Takashi Iwai

Some header files have kereldoc comments but are not referred properly. Let's add them.

---
 Documentation/DocBook/alsa-driver-api.tmpl | 12 ++++++++++++
 1 file changed, 12 insertions(+)
Documentation/DocBook/alsa-driver-api.tmpl +5 -0
index 0230a96f0564..13f8b241f042 100644
@@ -57,6 +57,7 @@
 !Esound/core/pcm.c
 !Esound/core/pcm_lib.c
 !Esound/core/pcm_native.c
+!include/sound/pcm.h
      </sect1>
      <sect1><title>PCM Format Helpers</title>
 !Esound/core/pcm_misc.c
@@ -64,6 +65,10 @@
      <sect1><title>PCM Memory Management</title>
 !Esound/core/pcm_memory.c
      </sect1>
+     <sect1><title>PCM DMA Engine API</title>
+!Esound/core/pcm_dmaengine.c
+!Iinclude/sound/dmaengine_pcm.h
+     </sect1>
   </chapter>
   <chapter><title>Control/Mixer API</title>
      <sect1><title>General Control Interface</title>

Documentation/DocBook/alsa-driver-api.tmpl line 102

Quoted 7 lines
Documentation/DocBook/alsa-driver-api.tmpl +4 -0
@@ -91,12 +96,19 @@
 !Esound/core/info.c
      </sect1>
   </chapter>
+  <chapter><title>Compress Offload</title>
+     <sect1><title>Compress Offload API</title>
+!Esound/core/compress_offload.c
+!Iinclude/sound/compress_driver.h

Was include/uapi/sound/compress_offload.h and compress_params.h added somewhere else, if not can you pls add those as well

Signature · 1 line
~Vinod
Quoted 19 lines
Documentation/DocBook/alsa-driver-api.tmpl +3 -0
+     </sect1>
+  </chapter>
   <chapter><title>Miscellaneous Functions</title>
      <sect1><title>Hardware-Dependent Devices API</title>
 !Esound/core/hwdep.c
      </sect1>
      <sect1><title>Jack Abstraction Layer API</title>
 !Esound/core/jack.c
+!Iinclude/sound/jack.h
      </sect1>
      <sect1><title>ISA DMA Helpers</title>
 !Esound/core/isadma.c
Signature · 6 lines
2.1.2

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
#3 lore raw

At Wed, 29 Oct 2014 11:18:38 +0530,

Quoted 35 lines · Vinod Koul
Quoted 33 lines · Takashi Iwai

Some header files have kereldoc comments but are not referred properly. Let's add them.

---
 Documentation/DocBook/alsa-driver-api.tmpl | 12 ++++++++++++
 1 file changed, 12 insertions(+)
Documentation/DocBook/alsa-driver-api.tmpl +5 -0
index 0230a96f0564..13f8b241f042 100644
@@ -57,6 +57,7 @@
 !Esound/core/pcm.c
 !Esound/core/pcm_lib.c
 !Esound/core/pcm_native.c
+!include/sound/pcm.h
      </sect1>
      <sect1><title>PCM Format Helpers</title>
 !Esound/core/pcm_misc.c
@@ -64,6 +65,10 @@
      <sect1><title>PCM Memory Management</title>
 !Esound/core/pcm_memory.c
      </sect1>
+     <sect1><title>PCM DMA Engine API</title>
+!Esound/core/pcm_dmaengine.c
+!Iinclude/sound/dmaengine_pcm.h
+     </sect1>
   </chapter>
   <chapter><title>Control/Mixer API</title>
      <sect1><title>General Control Interface</title>
@@ -91,12 +96,19 @@
 !Esound/core/info.c
Quoted 8 lines

Documentation/DocBook/alsa-driver-api.tmpl line 102

Quoted 6 lines
Documentation/DocBook/alsa-driver-api.tmpl +4 -0
      </sect1>
   </chapter>
+  <chapter><title>Compress Offload</title>
+     <sect1><title>Compress Offload API</title>
+!Esound/core/compress_offload.c
+!Iinclude/sound/compress_driver.h

Was include/uapi/sound/compress_offload.h and compress_params.h added somewhere else, if not can you pls add those as well

Submitted a patch series now.

Takashi