summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ALSA: emu10k1: Use workqueue instead of kthread for emu1010 fw pollingTakashi Iwai2016-11-153-77/+67
| | | | | | | | | | | | This patch is a cleanup of EMU1010 dock probing code in emu10k1 driver to use work instead of kthread in a loop. The work is lighter and easier to control than kthread, in general. Instead of a loop with the explicit sleep, we do simply delayed-schedule the work. At suspend/resume callbacks, the work is canceled and restarted, respectively. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: emu10k1: Simplify firmware loader codeTakashi Iwai2016-11-151-62/+40
| | | | | | | | | The EMU1010 support in emu10k1 driver has two request_firmware() calls, one for the main board and one for the dock. Both call patterns are fairly similar, and we can simplify it by introducing a helper function and a table instead of the open switch/case. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: emu10k1: Fix emu1010 dock attach checkTakashi Iwai2016-11-151-6/+6
| | | | | | | | | | | | | The emu1010_firmware_thread() checks the previous dock status, but a wrong register is recorded as the last status when the dock is plugged in. Usually this isn't a big issue since this value gets overwritten by the next loop after one second. But when a dock is unplugged immediately after plugging, it means essentially missing undock handling. This patch addresses it by remembering the correct register value. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: core: Fix kernel-doc warningsTakashi Iwai2016-11-151-10/+10
| | | | | | | | | | | | Several lines in sound/core.h get the kernel-doc warnings like ./include/sound/core.h:323: warning: No description found for parameter '...' where we use define like foo(x, args...) and "args" isn't mentioned in the comments. As an easy workaround, use simple __VA_ARGS__ for VLA in macros. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: compress: Fix kernel-doc warningsTakashi Iwai2016-11-151-0/+1
| | | | | | | | | | | | | | | Some fields in struct snd_compr have no corresponding comments, and the kernel-doc complains like: ./include/sound/compress_driver.h:162: warning: No description found for parameter 'id[64]' ./include/sound/compress_driver.h:162: warning: No description found for parameter 'proc_root' ./include/sound/compress_driver.h:162: warning: No description found for parameter 'proc_info_entry' Actually all these are internal elements, just put "private:" comment so that they will be ignored. Acked-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: ac97: Fix kernel-doc error with sphinx formatterTakashi Iwai2016-11-151-1/+1
| | | | | | | | | | | Sphinx takes a word like (*foo)->bar in the kernel-doc comments as a part of the emphasized marker, and complains like ./sound/pci/ac97/ac97_codec.c:1908: WARNING: Inline emphasis start-string without end-string. For avoiding this, wrap it with the quotes (``) in the comment. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: pci: don't opencode IS_REACHABLE()Fabian Frederick2016-11-1315-15/+15
| | | | | Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: oss: don't opencode IS_REACHABLE()Fabian Frederick2016-11-121-1/+1
| | | | | Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: rawmidi: don't opencode IS_REACHABLE()Fabian Frederick2016-11-121-2/+2
| | | | | Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA: opl3: don't opencode IS_REACHABLE()Fabian Frederick2016-11-121-1/+1
| | | | | Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* Merge branch 'topic/restize-docs' into for-nextTakashi Iwai2016-11-1113-349/+526
|\
| * ASoC: doc: ReSTize codec_to_codec.txtTakashi Iwai2016-11-112-37/+43
| | | | | | | | | | | | | | | | Yet another simple conversion from a plain text file. Renamed to codec-to-codec.rst to align with others. Acked-by: Mark Brown <broonie@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * Merge branch 'topic/doc' of ↵Takashi Iwai2016-11-111-0/+103
| |\ | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into topic/restize-docs
| | * ASoC: Codec to codec dai link descriptionanish kumar2016-10-261-0/+103
| | | | | | | | | | | | | | | | | | Signed-off-by: anish kumar <yesanishhere@gmail.com> Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@kernel.org>
| * | ASoC: doc: ReSTize DPCM.txtTakashi Iwai2016-11-112-134/+147
| | | | | | | | | | | | | | | | | | | | | | | | A simple conversion from a plain text file. The file name was renamed to lower letters to align with others. Acked-by: Mark Brown <broonie@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | ASoC: doc: ReSTize jack.txtTakashi Iwai2016-11-112-0/+2
| | | | | | | | | | | | | | | | | | | | | A simple conversion from a plain text file. Acked-by: Mark Brown <broonie@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | ASoC: doc: ReSTize clocking.txtTakashi Iwai2016-11-112-9/+5
| | | | | | | | | | | | | | | | | | | | | A simple conversion from a plain text file. Acked-by: Mark Brown <broonie@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | ASoC: doc: ReSTize pops_clicks.txtTakashi Iwai2016-11-112-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | A simple conversion from a plain text file. The file name was changed from "pops_clicks" to "pops-clicks" to align with others. Acked-by: Mark Brown <broonie@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | ASoC: doc: ReSTize machine.txtTakashi Iwai2016-11-112-9/+14
| | | | | | | | | | | | | | | | | | | | | A simple conversion from a plain text file. Acked-by: Mark Brown <broonie@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | ASoC: doc: ReSTize platform.txtTakashi Iwai2016-11-112-14/+18
| | | | | | | | | | | | | | | | | | | | | A simple conversion from a plain text file. Acked-by: Mark Brown <broonie@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | ASoC: doc: ReSTize dapm.txtTakashi Iwai2016-11-112-106/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A simple conversion from a plain text file. The section numbers and the item numbers are dropped to align with the ReST format. Some lists are converted to description lists to be clearer. Acked-by: Mark Brown <broonie@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | ASoC: doc: ReSTize DAI.txtTakashi Iwai2016-11-112-10/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A simple conversion from a plain text file with slight reformatting / corrections. The file name was changed to lower letters to align with others. Acked-by: Mark Brown <broonie@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | ASoC: doc: ReSTize codec.txtTakashi Iwai2016-11-112-32/+44
| | | | | | | | | | | | | | | | | | | | | | | | A simple conversion from a plain text file. The section numbers are dropped to align with other documents. Acked-by: Mark Brown <broonie@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | ASoC: doc: ReSTize overview.txtTakashi Iwai2016-11-113-29/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A simple conversion from a plain text file. Created a new subdirectory, Documentation/sound/soc, for this and other ASoC documents. Since the index page contains the TOC, so "Documentation" section got removed from overview. Acked-by: Mark Brown <broonie@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | | Merge branch 'topic/restize-docs' into for-nextTakashi Iwai2016-11-11494-14574/+15556
|\| |
| * | ALSA: doc: ReSTize img,spdif-in.txtTakashi Iwai2016-11-102-10/+15
| | | | | | | | | | | | | | | | | | | | | Yet another simple conversion from a plain text file. Put to cards directory. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | ALSA: doc: ReSTize serial-u16550.txtTakashi Iwai2016-11-102-8/+14
| | | | | | | | | | | | | | | | | | | | | Yet another simple conversion from a plain text file. Put to cards directory. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | ALSA: doc: ReSTize hdspm.txtTakashi Iwai2016-11-102-118/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | A simple conversion from a plain text file. Quite a few reformatting in the end due to the style of the original document. Put to cards directory. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | ALSA: doc: ReSTize README.maya44Takashi Iwai2016-11-102-57/+81
| | | | | | | | | | | | | | | | | | | | | Another simple conversion from a plain text file. Put to cards directory. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | ALSA: doc: ReSTize Bt87x.txtTakashi Iwai2016-11-102-9/+15
| | | | | | | | | | | | | | | | | | | | | Another simple conversion from a plain text file. Put to cards directory. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | ALSA: doc: ReSTize MIXART.txtTakashi Iwai2016-11-102-8/+19
| | | | | | | | | | | | | | | | | | | | | Another simple conversion from a plain text file. Put to cards directory. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | ALSA: doc: ReSTize Audiophile-USB.txtTakashi Iwai2016-11-102-75/+184
| | | | | | | | | | | | | | | | | | | | | Another simple conversion from a plain text file. Put to cards directory. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | ALSA: doc: ReSTize VIA82xx-mixer.txtTakashi Iwai2016-11-103-8/+9
| | | | | | | | | | | | | | | | | | | | | Another simple conversion from a plain text file. Put to cards directory. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | ALSA: doc: ReSTize emu10k1-jack.txtTakashi Iwai2016-11-102-9/+13
| | | | | | | | | | | | | | | | | | | | | Another simple conversion from a plain text file. Put to cards directory. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | ALSA: doc: ReSTize Audigy-mixer.txtTakashi Iwai2016-11-102-137/+162
| | | | | | | | | | | | | | | | | | | | | Another simple conversion from a plain text file. Put to cards subdirectory. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | ALSA: doc: ReSTize SB-Live-mixer documentTakashi Iwai2016-11-102-160/+178
| | | | | | | | | | | | | | | | | | | | | Another simple conversion from a plain text file. Put to cards subdirectory. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | ALSA: doc: ReSTize CMIPCI documentTakashi Iwai2016-11-102-22/+41
| | | | | | | | | | | | | | | | | | | | | A simple conversion from a plain text file. Put to cards subdirectory. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | ALSA: doc: ReSTize Joystick documentTakashi Iwai2016-11-103-33/+46
| | | | | | | | | | | | | | | | | | | | | | | | A conversion from a simple text file. A new subdirectory, cards, was created to contain the card-specific information like this one. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | ALSA: doc: ReSTize Jack-Controls.txtTakashi Iwai2016-11-102-4/+10
| | | | | | | | | | | | | | | | | | | | | A simple conversion from a plain text file. Put to designs subdirectory. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | ALSA: doc: ReSTize timestamping documentTakashi Iwai2016-11-102-64/+80
| | | | | | | | | | | | | | | | | | | | | A simple conversion from a plain text file. Put to designs subdirectory. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | ALSA: doc: ReSTize compress-offload documentTakashi Iwai2016-11-102-58/+70
| | | | | | | | | | | | | | | | | | | | | A simple conversion from a plain text file. Put to designs subdirectory. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | ALSA: doc: ReSTize ControlNames.txtTakashi Iwai2016-11-103-107/+143
| | | | | | | | | | | | | | | | | | | | | A simple conversion from a plain text file. Put to designs subdirectory. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | ALSA: doc: ReSTize seq_oss documentTakashi Iwai2016-11-103-409/+372
| | | | | | | | | | | | | | | | | | | | | Converted from an ancient plain HTML document. It's much readable now! Put to designs subdirectory with a slight rename. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | ALSA: doc: ReSTize OSS-Emulation documentTakashi Iwai2016-11-102-69/+101
| | | | | | | | | | | | | | | | | | | | | A simple conversion from a text file. Put to designs subdirectory. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | ALSA: doc: ReSTize Channel-Mapping-API documentTakashi Iwai2016-11-102-33/+45
| | | | | | | | | | | | | | | | | | | | | A simple conversion from a text file. Put to designs subdirectory. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | ALSA: doc: ReSTize powersave documentTakashi Iwai2016-11-102-7/+10
| | | | | | | | | | | | | | | | | | | | | | | | A simple conversion from a text file. Put into designs subdirectory, although it's mostly relevant with HD-audio. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | ALSA: doc: ReSTize Procfile documentTakashi Iwai2016-11-103-51/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A simple conversion from a text file. A new subidrectory, Documentation/sound/designs, was created to put this document. The other API design and implementation docuemnts will be put to that directory in later commits. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | ALSA: doc: ReSTize ALSA-Configuration documentTakashi Iwai2016-11-103-2330/+2684
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A simple conversion from the text file. Since this is the only document specific to the configurations, it's put to the root sound subdirectory. A section describing the obsoleted configure stuff of old alsa-driver tarball got removed. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | ALSA: doc: ReSTize HD-Audio-DP-MST-audio.txtTakashi Iwai2016-11-102-10/+21
| | | | | | | | | | | | | | | | | | | | | A simple conversion from a plain text file. Put to hd-audio subdirectory. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | ALSA: doc: ReSTize HD-Audio-Controls documentTakashi Iwai2016-11-102-14/+20
| | | | | | | | | | | | | | | | | | | | | A conversion from a simple text file. Put to hd-audio subdirectory with a rename. Signed-off-by: Takashi Iwai <tiwai@suse.de>