]> asedeno.scripts.mit.edu Git - linux.git/commit
ASoC: Intel: bytcht_es8316: Add support for SSP0 (BYTCR)
authorHans de Goede <hdegoede@redhat.com>
Thu, 3 Jan 2019 13:45:30 +0000 (14:45 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 4 Jan 2019 15:15:24 +0000 (15:15 +0000)
commit349e13862c9975c613aac9dc7fa953e70cff9d06
tree8826a256bfe7ef2b4a57aa8026375b66a7e8b774
parent86909c8f77c5eda17a9b5dc954849e25df1ffe0f
ASoC: Intel: bytcht_es8316: Add support for SSP0 (BYTCR)

Add support for having the codec connected to SSP0 instead of SSP2. This
is controlled through a new quirk parameter, similar to how this is done
in the bytcr_rt5640 and bytcr_rt5651 machine drivers.

Bay Trail CR (cost reduced) SoCs do not have an SSP2, so we default to SSP0
there.

Note the SPP0 quirk gets BIT(16) because bits 0-15 are reserved for non
boolean quirks like the input-map added in a later commit in this series.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/bytcht_es8316.c