linux/sound/soc/intel/boards
Takashi Iwai 804e73adf5 ASoC: rt5670: Fix GPIO headset detection regression
RT5670 codec driver and its machine driver for Intel CHT assume the
implicit GPIO mapping on the index 0 while BIOS on most devices don't
provide it.  The recent commit f10e4bf663 ("gpio: acpi: Even more
tighten up ACPI GPIO lookups") restricts such cases and it resulted in
a regression where the headset jack setup fails like:

  rt5670 i2c-10EC5672:00: ASoC: Cannot get gpio at index 0: -2
  rt5670 i2c-10EC5672:00: Adding jack GPIO failed

For fixing this, we need to provide the GPIO mapping explicitly in the
machine driver.  Also this patch corrects the string to be passed to
gpiolib to match with the pre-given mapping, too.

Fixes: f10e4bf663 ("gpio: acpi: Even more tighten up ACPI GPIO lookups")
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=115531
Reported-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Tested-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2017-08-22 13:48:34 +01:00
..
bdw-rt5677.c ASoC: Intel: bdw-rt5677: Switch to devm_acpi_dev_add_driver_gpios() 2017-06-16 17:53:25 +01:00
broadwell.c ASoC: Call snd_soc_set_dmi_name() unconditionally 2017-04-24 18:47:17 +01:00
bxt_da7219_max98357a.c Merge remote-tracking branch 'asoc/topic/intel' into asoc-next 2017-07-03 16:51:30 +01:00
bxt_rt298.c ASoC: intel: bxt: Constify hw_constraints 2017-06-14 10:38:12 +01:00
byt-max98090.c ASoC: Intel: byt-max98090: Add GPIO ACPI mapping table 2017-06-13 21:39:47 +01:00
byt-rt5640.c ASoC: Set missing card owner field 2015-08-21 09:07:19 -07:00
bytcht_da7213.c ASoC: Intel: add machine driver for BYT/CHT + DA7213 2017-03-13 16:41:06 +00:00
bytcht_es8316.c ASoC: Intel: add machine driver for BYT/CHT + ES8316 2017-06-13 19:31:19 +01:00
bytcht_nocodec.c ASoC: intel: byt: Constify hw_constraints 2017-06-13 21:29:37 +01:00
bytcr_rt5640.c Merge remote-tracking branch 'asoc/topic/intel' into asoc-next 2017-04-30 22:15:41 +09:00
bytcr_rt5651.c ASoC: intel: byt: Constify hw_constraints 2017-06-13 21:29:37 +01:00
cht_bsw_max98090_ti.c ASoC: cht_bsw_max98090_ti: Remove unused function cht_get_codec_dai() 2017-05-24 18:12:04 +01:00
cht_bsw_rt5645.c ASoC: cht-bsw-rt5645: fix unused variable compiler warning 2017-02-01 18:35:50 +00:00
cht_bsw_rt5672.c ASoC: rt5670: Fix GPIO headset detection regression 2017-08-22 13:48:34 +01:00
haswell.c ASoC: constify snd_soc_ops structures 2016-10-24 18:34:55 +01:00
kbl_rt5663_max98927.c ASoC: Intel: Add Kabylake Realtek Maxim machine driver 2017-05-24 18:27:50 +01:00
kbl_rt5663_rt5514_max98927.c ASoC: Intel: Add Kabylake machine driver for RT5514, RT5663 and MAX98927 2017-06-14 19:10:37 +01:00
Makefile ASoC: Intel: Add Kabylake machine driver for RT5514, RT5663 and MAX98927 2017-06-14 19:10:37 +01:00
mfld_machine.c ASoC: intel: mfld: Make static string arrays 'const 'char * const []' 2016-11-16 10:08:59 +00:00
skl_nau88l25_max98357a.c ASoC: intel: skl: Constify hw_constraints 2017-06-13 21:29:38 +01:00
skl_nau88l25_ssm4567.c ASoC: intel: skl: Constify hw_constraints 2017-06-13 21:29:38 +01:00
skl_rt286.c ASoC: skl_rt286: Add deepbuffer dai link 2017-06-19 16:33:17 +01:00