]> git.itanic.dy.fi Git - linux-stable/commit
ASoC: rt5645: Add rt5645_get_pdata() helper
authorHans de Goede <hdegoede@redhat.com>
Sun, 26 Nov 2023 21:40:21 +0000 (22:40 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 21 Dec 2023 21:00:45 +0000 (21:00 +0000)
commitb4635b9cd9ae48050d72b645cc53175788bebf52
treeebae18e9aa1843962caaf2e8193d95db45e75b7b
parentf72a9c2b8f1487181302d69fb82d5c76226be3fb
ASoC: rt5645: Add rt5645_get_pdata() helper

Add a rt5645_get_pdata() helper function which retreives the platform-data
and overrides it with the quirks module parameter if that is set.

This is a preparation patch for adding the rt5645_components() function.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://msgid.link/r/20231126214024.300505-5-hdegoede@redhat.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5645.c