ASoC: Intel: bytcr_rt5640: Add new BYT_RT5640_NO_SPEAKERS quirk-flag
authorHans de Goede <hdegoede@redhat.com>
Sat, 9 Jan 2021 21:01:17 +0000 (22:01 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 12 Jan 2021 14:11:55 +0000 (14:11 +0000)
commit1851ccf9e155b2a6f6cca1a7bd49325f5efbd5d2
tree9c17b476e6678147cc2c2aec792a4ff2b44d111f
parent1675cdd3d7e2dc095eb380427baac93492032f47
ASoC: Intel: bytcr_rt5640: Add new BYT_RT5640_NO_SPEAKERS quirk-flag

Some devices, like mini PCs/media/top-set boxes do not have any speakers
at all, an example of the is the Mele PCG03 Mini PC.

Add a new BYT_RT5640_NO_SPEAKERS quirk-flag which when sets does not add
speaker routes and modifies the components and the (optional) long_name
strings to reflect that there are no speakers.

Cc: Rasmus Porsager <rasmus@beat.dk>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20210109210119.159032-2-hdegoede@redhat.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/bytcr_rt5640.c