]> git.itanic.dy.fi Git - linux-stable/commit
ASoC: Intel: bytcr_wm5102: Add BYT_WM5102_SSP2 quirk
authorHans de Goede <hdegoede@redhat.com>
Wed, 25 Oct 2023 14:35:10 +0000 (16:35 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 25 Oct 2023 16:21:11 +0000 (17:21 +0100)
commit95504218c688d286fb6bfd5f4dd394b74c80832f
tree8842221470dafc35f5369a84d8aef0b5407feddb
parent109cb2160128211ca7b17bad79cb0441f1440bc9
ASoC: Intel: bytcr_wm5102: Add BYT_WM5102_SSP2 quirk

Add the standard intel board file quirk mechanism also used in many
other intel board drivers and add a BYT_WM5102_SSP2 quirk setting
for designs using SSP2 instead of SSP0.

And enable the new BYT_WM5102_SSP2 quirk on Cherry Trail devices
since those always use SSP2.

The logging of the quirks uses dev_info_once() because probe() may run
multiple times because of snd_soc_register_card() returning -EPROBE_DEFER.

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