aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/lola
Commit message (Collapse)AuthorAgeFilesLines
* ALSA: lola - Fix section mismatchTakashi Iwai2011-06-151-1/+1
| | | | | | Add missing __devinit. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: lola - fix lola buildRandy Dunlap2011-05-041-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | sound/pci/lola/Makefile was trying to build lola modules even when PCI and SND_LOLA were not enabled, causing build errors: ERROR: "snd_pcm_hw_constraint_step" [sound/pci/lola/snd-lola.ko] undefined! ERROR: "snd_pcm_period_elapsed" [sound/pci/lola/snd-lola.ko] undefined! ERROR: "snd_dma_alloc_pages" [sound/pci/lola/snd-lola.ko] undefined! ERROR: "snd_pcm_hw_constraint_integer" [sound/pci/lola/snd-lola.ko] undefined! ERROR: "snd_pcm_sgbuf_ops_page" [sound/pci/lola/snd-lola.ko] undefined! ERROR: "snd_pcm_set_ops" [sound/pci/lola/snd-lola.ko] undefined! ERROR: "snd_pcm_lib_free_pages" [sound/pci/lola/snd-lola.ko] undefined! ERROR: "snd_pcm_lib_ioctl" [sound/pci/lola/snd-lola.ko] undefined! ERROR: "snd_pcm_lib_malloc_pages" [sound/pci/lola/snd-lola.ko] undefined! ERROR: "snd_pcm_sgbuf_get_chunk_size" [sound/pci/lola/snd-lola.ko] undefined! ERROR: "snd_dma_free_pages" [sound/pci/lola/snd-lola.ko] undefined! ERROR: "snd_pcm_lib_preallocate_pages_for_all" [sound/pci/lola/snd-lola.ko] undefined! ERROR: "snd_pcm_new" [sound/pci/lola/snd-lola.ko] undefined! Fix the Makefile to build only when CONFIG_SND_LOLA is enabled. Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: lola - Yet another linux/delay.h inclusionTakashi Iwai2011-05-031-0/+1
| | | | Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: lola - Add missing inclusion of linux/delay.hTakashi Iwai2011-05-031-0/+1
| | | | Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: lola - Implement polling_mode like hd-audioTakashi Iwai2011-05-032-3/+14
| | | | | | Also protect the call of lola_update_rirb() with spinlock. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: lola - Rename to Digital SRC Capture SwitchTakashi Iwai2011-05-033-3/+17
| | | | | | | Renamed to Digial SRC Capture Switch for more correct representation. Also fixed analog volume control on Lola161611 and lola881. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: lola - Add sync in loop implementationTakashi Iwai2011-05-031-17/+59
| | | | | | | | For assuring the synchronized state with the pause operation, loop over the all linked streams and waits until all get ready in a loop. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: lola - Add SRC refcountingTakashi Iwai2011-05-032-7/+46
| | | | | | | Added the refcounting for the exclusive SRC control. Also, fixed the possible stall after PCM pause operations. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: lola - Allow granularity changesTakashi Iwai2011-05-033-7/+27
| | | | | | | Add some sanity checks. Change PCM parameters appropriately per granularity. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: lola - Use SG-bufferTakashi Iwai2011-05-032-23/+4
| | | | | | Completely switch to SG-buffer now, as it's working stably. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: lola - Add Lola-specific module optionsTakashi Iwai2011-05-031-10/+35
| | | | | | | | | | | Added granularity and sample_rate_min module options. The former controls the h/w access granularity. As default, it's set to the max value 32. The latter controls the minimum sample rate in Hz, as default 16000. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: lola - Fix PCM stallsTakashi Iwai2011-05-033-47/+74
| | | | Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: lola - Use a single BDLTakashi Iwai2011-05-032-31/+49
| | | | | | | | | Use a single BDL for both buffers instead of allocating for each. Also a few tune-up to avoid the stream stalls in the PCM code and the prelimianry work for SG-buffer support are added, too. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: lola - Suppress the debug printTakashi Iwai2011-05-031-4/+4
| | | | | | Use snd_printdd() for less important debug messages. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: lola - Changes in proc fileTakashi Iwai2011-05-031-6/+142
| | | | | | | | | | The codec proc file becomes a read only that shows the codec widgets in a text form. A new proc file, codec_rw, is introduced instead for accessing the Lola verb directly by reading and writing to it. Also, regs proc file shows the contents of DSD, too. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: lola - Make SRC helper globalTakashi Iwai2011-05-032-4/+5
| | | | | | | Make lola_sample_rate_convert() global so that it can be accessed from other files. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: Add the driver for Digigram Lola PCI-e boardsTakashi Iwai2011-05-037-0/+3095
Added a new driver for supporting Digigram Lola PCI-e boards. Lola has a similar h/w design like HD-audio but with extended verbs. Thus the driver is written similarly like HD-audio driver in the bus part. The codec part is rather written in a fixed way specific to the Lola board because of the verb incompatibility. The driver provides basic PCM, supporting multi-streams and mixing. Signed-off-by: Takashi Iwai <tiwai@suse.de>