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>
This commit is contained in:
Hans de Goede 2023-11-26 22:40:21 +01:00 • committed by Mark Brown
commit b4635b9cd9
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0