aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-04-19ASoC: samsung: idma: Convert to SPDX License IdentifierSylwester Nawrocki2-21/+8
Replace GPL v2.0+ license statements with SPDX license identifier. Signed-off-by: Sylwester Nawrocki <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-19ASoC: samsung: i2s: Convert to SPDX License IdentifierSylwester Nawrocki2-13/+3
Replace remaining GPL v2.0 license statements with SPDX license identifier. Signed-off-by: Sylwester Nawrocki <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-19ASoC: samsung: h1940_uda1380: Convert to SPDX License IdentifierSylwester Nawrocki1-14/+8
Replace GPL v2.0+ license statements with SPDX license identifier. Signed-off-by: Sylwester Nawrocki <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-19ASoC: samsung: dmaengine: Convert to SPDX License IndentifierSylwester Nawrocki2-22/+8
Replace GPL v2.0 license statements with SPDX license identifier. Signed-off-by: Sylwester Nawrocki <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-19ASoC: samsung: bells: Convert to SPDX License IdentifierSylwester Nawrocki1-10/+5
Replace GPL v2.0 license statements with SPDX license identifier. Signed-off-by: Sylwester Nawrocki <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-19ASoC: samsung: arndale: Convert to SPDX License IdentifierSylwester Nawrocki1-12/+5
Replace GPL v2.0 license statements with SPDX license identifier. Signed-off-by: Sylwester Nawrocki <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-08ASoC: tlv320aic32x4: Fix spacingAnnaliese McDermond1-2/+2
Fix some cosmetic spacing issues reported by Julia Lawall <[email protected]>. Signed-off-by: Annaliese McDermond <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-08ASoC: Intel: kbl_da7219_max98927: remove headsetJenny TC1-29/+23
kbl_da7219_max98927 supports two configurations - One with da7219 & max98927/373 and other one with max98927/373 alone. This patch removes the headset dais from max98927/373 configuration. Since the snd_soc_dapm_ignore_suspend for DMIC is called from da7219_codec_init, the code is re-arranged to invoke snd_soc_dapm_ignore_suspend from kabylake_dmic_init. Signed-off-by: Jenny TC <[email protected]> Acked-by: Pierre-Louis Bossart <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-08ASoC: pcm: update module refcount if module_get_upon_open is setRanjani Sridharan1-0/+8
Setting the module_get_upon_open field for component driver prevents the module refcount from being incremented during component probe(). This could lead to the module being allowed to be unloaded when a pcm stream is open. So, if this field is set, the module's refcount should be incremented during pcm open to prevent module removal when the component is in use. And, the refcount should be decremented upon pcm close. Signed-off-by: Ranjani Sridharan <[email protected]> Acked-by: Pierre-Louis Bossart <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-08ASoC: core: conditionally increase module refcount on component openRanjani Sridharan3-5/+10
Recently, for Intel platforms the "ignore_module_refcount" field was introduced for the component driver. In order to avoid a deadlock preventing the PCI modules from being removed even when the card was idle, the refcounts were not incremented for the device driver module during component probe. However, this change introduced a nasty side effect: the device driver module can be unloaded while a pcm stream is open. This patch proposes to change the field to be renamed as "module_get_upon_open". When this field is set, the module refcount should be incremented on pcm open amd decremented upon pcm close. This will enable modules to be removed when no PCM playback/capture happens and prevent removal when the component is actually in use. Also, align with the skylake component driver with the new name. Fixes: b450b878('ASoC: core: don't increase component module refcount unconditionally' Signed-off-by: Ranjani Sridharan <[email protected]> Acked-by: Pierre-Louis Bossart <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-08ASoC: Intel: bytcht_es8316: Add quirk for the Teclast X98+ IIPaul Cercueil1-1/+19
The Teclast X98+ II is a Cherrytrail tablet, which require two quirks: - it has stereo speakers, - its jack detection mechanism is inverted. Signed-off-by: Paul Cercueil <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-08ASoC: Intel: bytcht_es8316: Add quirk for inverted jack detectPaul Cercueil1-0/+17
Add a quirk to support boards whose jack detection mechanism is inverted. It will set the 'everest,jack-detect-inverted' boolean device property for the es8316 codec driver. Signed-off-by: Paul Cercueil <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-08ASoC: wm1133-ev1: Switch to SPDX identifierAndra Danciu1-13/+8
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Andra Danciu <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-08ASoC: phycore-ac97: Switch to SPDX identifierAndra Danciu1-11/+5
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Andra Danciu <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-08ASoC: pcm030-audio-fabric: Switch to SPDX identifierAndra Danciu1-11/+7
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Andra Danciu <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-08ASoC: p1022_rdk: Switch to SPDX identifierAndra Danciu1-18/+14
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Andra Danciu <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-08ASoC: p1022_ds: Switch to SPDX identifierAndra Danciu1-11/+7
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Andra Danciu <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-08ASoC: mx27vis-aic32x4: Switch to SPDX identifierAndra Danciu1-22/+7
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Andra Danciu <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-08ASoC: mpc8610_hpcd: Switch to SPDX identifierAndra Danciu1-11/+7
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Andra Danciu <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-08ASoC: mpc5200_psc_i2s: Switch to SPDX identifierAndra Danciu1-7/+7
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Andra Danciu <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-08ASoC: mpc5200_psc_ac97: Switch to SPDX identifierAndra Danciu1-10/+6
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Andra Danciu <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-08ASoC: mpc5200_dma: Switch to SPDX identifierAndra Danciu1-7/+7
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Andra Danciu <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-08ASoC: imx-ssi: Switch to SPDX identifierAndra Danciu2-37/+26
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Andra Danciu <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-08ASoC: imx-spdif: Switch to SPDX identifierAndra Danciu1-10/+3
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Andra Danciu <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-08ASoC: imx-pcm-fiq: Switch to SPDX identifierAndra Danciu1-13/+8
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Andra Danciu <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-08ASoC: imx-mc13783: Switch to SPDX identifierAndra Danciu1-14/+8
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Andra Danciu <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-08ASoC: imx-es8328: Switch to SPDX identifierAndra Danciu1-11/+4
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Andra Danciu <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-08ASoC: imx-audmux: Switch to SPDX identifierAndra Danciu1-18/+8
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Andra Danciu <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-08ASoC: fsl-dma: Switch to SPDX identifierAndra Danciu2-19/+12
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Andra Danciu <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-08ASoC: eukrea-tlv320: Switch to SPDX identifierAndra Danciu1-16/+10
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Andra Danciu <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-08ASoC: imx-pcm: Switch to SPDX identifierAndra Danciu1-5/+1
Adopt the SPDX license identifier headers to ease license compliance management. Signed-off-by: Andra Danciu <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-08ASoC: stm32: fix sai driver name initialisationArnaud Pouliquen1-1/+1
This patch fixes the sai driver structure overwriting which results in a cpu dai name equal NULL. Fixes: 3e086ed ("ASoC: stm32: add SAI driver") Signed-off-by: Arnaud Pouliquen <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-08ASoC: topology: Use the correct dobj to free enum control values and textsRanjani Sridharan1-3/+4
The control values and texts of the enum kcontrol associated with a widget need to be freed when the widget is removed. However, both struct snd_soc_dapm_widget and struct soc_enum contain a dobj member, which resulted in a confusion. The existing code generates a null pointer dereference by attempting to free the values and texts from the dobj which belongs to the widget instead of the dobj belonging to the enum kcontrol. The suggested fix is to use the correct dobj member (se->dobj) of the enum kcontrol. Signed-off-by: Ranjani Sridharan <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-05ASoC: cs42l51: change mic bias DAPMOlivier Moysan1-1/+2
Use SND_SOC_DAPM_SUPPLY for mic bias DAPM instead of deprecated SND_SOC_DAPM_MICBIAS. Signed-off-by: Olivier Moysan <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-05ASoC: fsl_esai: Support synchronous modeS.j. Wang1-7/+14
In ESAI synchronous mode, the clock is generated by Tx, So we should always set registers of Tx which relate with the bit clock and frame clock generation (TCCR, TCR, ECR), even there is only Rx is working. Signed-off-by: Shengjiu Wang <[email protected]> Acked-by: Nicolin Chen <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-05ASoC: topology: fix big-endian checkPierre-Louis Bossart1-1/+3
Use an explicit define to avoid Sparse issues coming from the use of cpu_to_be32 Signed-off-by: Pierre-Louis Bossart <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-05ASoC: topology: fix endianness issuesPierre-Louis Bossart1-121/+170
Use le16/32/64_to_cpu() as needed to make Sparse happy. Signed-off-by: Pierre-Louis Bossart <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-05ASoC: meson: axg-tdmout: add g12a supportJerome Brunet1-0/+13
The axg tdmout driver just need a different skew offset to operate correctly on the g12a SoC family. Signed-off-by: Jerome Brunet <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-05ASoC: meson: axg-tdm-formatter: rework quirks settingsJerome Brunet4-14/+35
The g12a tdmout requires a different signal skew offset than the axg. With this change, the skew offset is added as a parameter of the tdm formatters to prepare the addition of the g12a support. Signed-off-by: Jerome Brunet <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-05ASoC: meson: axg-frddr: add g12a supportJerome Brunet1-3/+140
On the axg, frddr could only be connected to 1 downstream element, so the playback was possible on 1 interface only at a time. On the g12a, the frddr may connect and wait for the request of up to 3 downstream elements. With this, it possible for single playback to be played on several interfaces at the same time. Like the toddr fifo, the g12a frddr also need to take care of resetting the read pointer to the initial fifo address when preparing a playback. Signed-off-by: Jerome Brunet <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-05ASoC: meson: axg-toddr: add g12a supportJerome Brunet1-0/+53
Since the g12a SoC fifo can set the fifo initial start address, we must make sure to actually reset the write pointer to this address when starting a capture. Signed-off-by: Jerome Brunet <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-05ASoC: meson: axg-fifo: add g12a supportJerome Brunet2-3/+33
The g12a fifos gained the ability to set the initial address of the pointer within the buffer, instead of defaulting to the buffer start address. It is not very useful to us (yet) but we need to put a copy the buffer start address in the related register for the fifo to work properly on the g12a SoC family Signed-off-by: Jerome Brunet <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-05ASoC: meson: add g12a compatiblesJerome Brunet5-5/+12
Add new compatible strings for the g12a devices. Audio wise, the g12a is fairly to close to the axg, yet some differences need to be handled. Signed-off-by: Jerome Brunet <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-05ASoC: core: remove link components before cleaning up card resourcesRanjani Sridharan1-0/+11
When the card is registered by the machine driver, dai link components are probed after the snd_card is created. This is done in snd_soc_bind_card() which calls snd_soc_instantiate_card() to first create the snd_card and then probes the link components by calling soc_probe_link_components(). The snd_card is used by the component driver to add the kcontrols associated with dapm widgets to the card. When the machine driver is unregistered, the snd_card is freed when the card resources are cleaned up. But the snd_card needs to be valid while unloading the topology dapm widgets in order to remove the kcontrols from the card. Since, unloading topology is done when the component driver is removed, the link components should be removed in snd_soc_unbind_card(). This will ensure that the kcontrols are removed before the card resources are cleaned up and the snd_card itself is freed. Signed-off-by: Ranjani Sridharan <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-05ASoC: intel: skylake: add remove() callback for component driverRanjani Sridharan1-0/+7
Topology is not unloaded in the core during unregister_component() anymore. So, add the remove() callback that will unload the topology. Signed-off-by: Ranjani Sridharan <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-05ASoC: cs35l35: Disable regulators on driver removalCharles Keepax1-0/+11
The chips main power supplies VA and VP are enabled during probe but then never disabled, this will cause warnings from the regulator framework on driver removal. Fix this by adding a remove callback and disabling the supplies, whilst doing so follow best practice and put the chip back into reset as well. Signed-off-by: Charles Keepax <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-04ASoC: cs42l51: add adc volume controlOlivier Moysan1-0/+3
Add ADC boost volume control for CS42L51 codec. Signed-off-by: Olivier Moysan <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-04ASoC: cs42l51: add power managementOlivier Moysan3-2/+129
Add sleep PM callbacks to support system low power modes. Signed-off-by: Olivier Moysan <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-04ASoC: cs42l51: add support of master modeOlivier Moysan1-3/+27
Add support of master mode for cs42l51 cirrus audio codec. Signed-off-by: Olivier Moysan <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-04ASoC: cs42l51: add reset managementOlivier Moysan1-0/+15
Manage cs42l51 audio codec reset pin. Signed-off-by: Olivier Moysan <[email protected]> Signed-off-by: Mark Brown <[email protected]>