]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: cht_bsw_rt5645: harden ACPI device detection
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 26 Jan 2017 20:09:41 +0000 (14:09 -0600)
committerMark Brown <broonie@kernel.org>
Tue, 31 Jan 2017 20:12:31 +0000 (20:12 +0000)
commit7df236cc3cf4f5761e09bdf737543915614905ea
tree79dcdbd7da4eed4c2eb3d2279c729896da0d8920
parent4ee830001b0e5d77880fab652d28d1cb77de74d3
ASoC: Intel: cht_bsw_rt5645: harden ACPI device detection

Fix classic issue of having multiple codecs listed in DSDT
but a single one actually enabled. The previous code did
not handle such errors and could also lead to uninitalized
configurations

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/cht_bsw_rt5645.c