2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-10 22:54:11 +08:00
linux-next/sound/soc/intel
Thierry Escande 3bbda5a386 ASoC: Intel: cht_bsw_max98090_ti: Fix jack initialization
If the ts3a227e audio accessory detection hardware is present and its
driver probed, the jack needs to be created before enabling jack
detection in the ts3a227e driver. With this patch, the jack is
instantiated in the max98090 headset init function if the ts3a227e is
present. This fixes a null pointer dereference as the jack detection
enabling function in the ts3a driver was called before the jack is
created.

[minor correction to keep error handling on jack creation the same
as before by Pierre Bossart]

Signed-off-by: Thierry Escande <thierry.escande@collabora.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Acked-By: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2017-09-19 14:44:30 +01:00
..
atom ASoC: Intel: atom: use cht_bsw_max98090 for Baytrail Chromebooks 2017-09-19 14:44:25 +01:00
baytrail ASoC: intel: constify snd_pcm_ops structures 2017-08-14 17:23:08 +01:00
boards ASoC: Intel: cht_bsw_max98090_ti: Fix jack initialization 2017-09-19 14:44:30 +01:00
common ASoC: Intel: Skylake: Add sram address to sst_addr structure 2017-06-30 13:28:03 +01:00
haswell ASoC: Intel: make snd_soc_platform_driver const 2017-08-14 17:22:29 +01:00
skylake Merge remote-tracking branch 'asoc/topic/intel' into asoc-next 2017-09-01 12:12:19 +01:00
Kconfig ASoC: Intel: kbl_rt5663_rt5514_max98927: Add rt5514 spi dailink 2017-08-17 15:25:08 +01:00
Makefile ASoC: Intel: rename SND_SST_MFLD_PLATFORM to SND_SST_ATOM_HIFI2_PLATFORM 2017-01-17 17:46:40 +00:00