Age | Commit message (Collapse) | Author | Files | Lines |
|
Change the name of the modules to reflect the new names
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
|
|
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
|
|
Some Usage doc changes
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
|
|
No need for alsa- prefix any longer
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
|
|
This is taken from the mainline Linux kernel
This is used for automatically formatting the source to Linus' strict standards
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
|
|
This will aid the eventual migration the the upstream mainline Linux kernel
Fix some checkpatch warnings, and other compiler warnings
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
|
|
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
|
|
No need to be using kasprintf in a debug macro!
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
|
|
Change include guards to reflect Linux sound driver format
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
|
|
Added debug macros for Dummy AP
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
|
|
These can still be used, although proceed with caution when adding new Audio Paths.
The copy_user PCM callback caused lots of strife when porting the loopback driver!
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
|
|
All license headers need to be uniform across AVIRT
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
|
|
These need to be in the format the Linux expects, and uniform across AVIRT
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
|
|
Tidy other docs
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
|
|
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
|
|
Add 'map' to configfs test, remove old mentions of module parameters
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
|
|
Signed-off-by: James O'Shannessy <james.oshannessy@fiberdyne.com.au>
|
|
Fix table of contents Markdown links
Fixing whitespace problems in Markdown docs
Fix alignment of table of contents
Signed-off-by: James O'Shannessy <james.oshannessy@fiberdyne.com.au>
|
|
Signed-off-by: James O'Shannessy <james.oshannessy@fiberdyne.com.au>
|
|
Restructure docs file tree
Signed-off-by: James O'Shannessy <james.oshannessy@fiberdyne.com.au>
|
|
Signed-off-by: James O'Shannessy <james.oshannessy@fiberdyne.com.au>
|
|
Cleaning up build instructions for building AVIRT
Signed-off-by: James O'Shannessy <james.oshannessy@fiberdyne.com.au>
|
|
Dot points to introduction, and shifting the build instructions to
docs/2.\ Building.md
Signed-off-by: James O'Shannessy <james.oshannessy@fiberdyne.com.au>
|
|
Updated documentation to use load/unload
Signed-off-by: James O'Shannessy <james.oshannessy@fiberdyne.com.au>
|
|
Updated usage document with loading/unloading, configuration information
Signed-off-by: James O'Shannessy <james.oshannessy@fiberdyne.com.au>
|
|
Cleaning up build instructions for building AVIRT
Signed-off-by: James O'Shannessy <james.oshannessy@fiberdyne.com.au>
|
|
Dot points to introduction, and shifting the build instructions to
docs/2.\ Building.md
Signed-off-by: James O'Shannessy <james.oshannessy@fiberdyne.com.au>
|
|
After discussion at AGL F2F, it was suggested to have simpler readmes
that summarise the system/architecture/build process/etc.
Starting to dotpoint out that process with these readmes.
Signed-off-by: James O'Shannessy <james.oshannessy@fiberdyne.com.au>
|
|
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
|
|
Reworked the original aloop implementation to have the PCM devices loop on themselves, and subscribe the the AVIRT system.
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
|
|
We don't want to return inside the macro call necessarily. Some PCM cbs require differing return values.
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
|
|
These should be done in the Audio Path
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
|
|
Remove hardcoded test Audio Path UID, and use dynamic Audio Path UID
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
|
|
When creating the PCMs we need information regarding the stream's mapping. For the loopback, we need to add both playback and capture substreams.
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
|
|
The loopback audio path might need to add it's own controls.
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
|
|
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
|
|
The trailing \n was improperly being stored to the 'map' variable
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
|
|
This is no longer needed in AVIRT, since it is only actually used for the ADSP Audio Path.
Clean up white space, add function documentation, remove out of place debug prints
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
|
|
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
|
|
Sanity guard the sound card string buffers with strncpy
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
|
|
Sound card was not being free'd properly on module exit.
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
|
|
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
|
|
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
|
|
Add initial bash script for configuring AVIRT via the configfs Linux filesystem
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
|
|
Add additional callbacks for audio path configuring, after card has been sealed.
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
|
|
Add missing static declaration to pcm_ack callback function
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
|
|
Since playback and capture streams are not always assigned, we do not want to
error when one or the other is not present for free'ing.
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
|
|
This makes for a more organized function/variable naming convention
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
|
|
Remove unnecessary extra memory allocation with the old config structures. We can store the snd_pcm pointer, which contains lots of info already.
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
|
|
We want to use a UID when registering APs, that must start with "ap_", and acts as a unique identifier for each AP.
To move forward with the adoption of routing PCMs to differing APs, we now store the AP in the PCM private data - set at pcm_open.
A fix to the helper macros now allows additional args to be passed in for inclusion to the debug string
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
|