ASoC: rt5670: refactor DMI quirks and fix Dell Venue settings
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Fri, 8 Sep 2017 01:12:54 +0000 (20:12 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 25 Sep 2017 16:14:26 +0000 (17:14 +0100)
commit8e1b1785489b8b53b4ff934e0ad9259952817f5b
treec81e6eaea0618fc62735014844e31057bf048401
parent2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e
ASoC: rt5670: refactor DMI quirks and fix Dell Venue settings

Additional checks exposed a mistake in the quirk for the Dell Venue
Pro 5855 (Dmic2 instead of Dmic1). Rather than adding quirk tables,
merge all quirks in a single table and use flags to differentiate
platforms.  Also add a parameter override to help support additional
platforms using this codec

CC: Bard Liao <bardliao@realtek.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5670.c