aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-04-25ASoC: codecs: rt5682: initialize mutex before usingXun Zhang1-1/+1
In rt5682 codec driver, a mutex called "calibrate_mutex" is used in rt5682_calibrate() before initialization, which causes warning in lock debug. Move the initialization before the usage of mutex. Signed-off-by: Xun Zhang <[email protected]> Signed-off-by: Pierre-Louis Bossart <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-25ASoC: stm32: i2s: return the get_irq errorFabien Dessenne1-2/+3
During probe, return the "get_irq" error value instead of -ENOENT. This allows the driver to be deferred probed if needed. Signed-off-by: Fabien Dessenne <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-25ASoC: rsnd: fixup 6ch settings to 8chKuninori Morimoto3-5/+16
rsnd need to use 8ch clock settings for 6ch for TDM. Otherwise, it can't work correctly. This patch fixup it. Signed-off-by: Kuninori Morimoto <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-19ASoC: codec: hdac_hdmi add device_link to card deviceLibin Yang1-0/+11
In resume from S3, HDAC HDMI codec driver dapm event callback may be operated before HDMI codec driver turns on the display audio power domain because of the contest between display driver and hdmi codec driver. This patch adds the device_link between soc card device (consumer) and hdmi codec device (supplier) to make sure the sequence is always correct. Signed-off-by: Libin Yang <[email protected]> Reviewed-by: Takashi Iwai <[email protected]> Acked-by: Pierre-Louis Bossart <[email protected]> Signed-off-by: Mark Brown <[email protected]> Cc: [email protected]
2019-04-19ASoC: Intel: Haswell: Remove set but not used variable 'stage_type'YueHaibing1-7/+1
Fixes gcc '-Wunused-but-set-variable' warning: sound/soc/intel/haswell/sst-haswell-ipc.c: In function 'hsw_stream_message': sound/soc/intel/haswell/sst-haswell-ipc.c:669:29: warning: variable 'stage_type' set but not used [-Wunused-but-set-variable] It is never used since introduction in commit ba57f68235cf ("ASoC: Intel: create haswell folder and move haswell platform files in") Signed-off-by: YueHaibing <[email protected]> Acked-by: Pierre-Louis Bossart <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-19ASoC: pcm: save fixed-up hw_params of BELibin Yang1-0/+4
Some drivers mandate setting up hw params after resuming from system sleep. Since, the hw_params ioctl is not invoked upon resuming, the fixed-up BE dai hw params should be saved so the driver can use it in its resume sequence. Signed-off-by: Libin Yang <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2019-04-19ASoC: samsung: tobermory: 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: tm2_wm5110: Convert to SPDX License IdentifierSylwester Nawrocki1-11/+6
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: speyside: 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: spdif: Convert to SPDX License IdentifierSylwester Nawrocki2-17/+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: snow: Convert to SPDX License IdentifierSylwester Nawrocki1-12/+3
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: smdk_wm8994*: Convert to SPDX License IdentifierSylwester Nawrocki2-19/+6
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: smdk_wm8580: Convert to SPDX License IdentifierSylwester Nawrocki1-11/+4
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: smdk_spdif: Convert to SPDX License IdentifierSylwester Nawrocki1-11/+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: smartq_wm8987: Convert to SPDX License IdentifierSylwester Nawrocki1-14/+7
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: s3c24xx_uda134x: Convert to SPDX License IdentifierSylwester Nawrocki1-12/+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: s3c24xx_simtec*: Convert to SPDX License IdentifierSylwester Nawrocki4-31/+12
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: s3c2412-i2s: Convert to SPDX License IdentifierSylwester Nawrocki2-25/+14
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: rx1950_uda1380: Convert to SPDX License IdentifierSylwester Nawrocki1-18/+12
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: s3c24xx-i2s: Convert to SPDX License IdentifierSylwester Nawrocki3-25/+13
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: s3c-i2s-v2: Convert to SPDX License IdentifierSylwester Nawrocki3-30/+17
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: pcm: Convert to SPDX License IdentifierSylwester Nawrocki2-19/+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: odroid: Convert to SPDX License IdentifierSylwester Nawrocki1-7/+3
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: neo1973_wm8753: Convert to SPDX License IdentifierSylwester Nawrocki1-15/+10
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: lowland: 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: littlemill: 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: jive_wm8750: Convert to SPDX License IdentifierSylwester Nawrocki1-12/+7
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: 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]>