diff options
author | Pierre-Louis Bossart <[email protected]> | 2024-10-16 18:23:28 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-10-17 18:42:14 +0100 |
commit | 9aa6df9cb82e8fd44132c481afc76eb7a7dbc398 (patch) | |
tree | 2587bf9e485df9aeb71fc038a800e60f11e1f709 /lib/crypto/mpi/mpiutil.c | |
parent | fdb220399177177917dce52063b326a191a35a02 (diff) |
ASoC: rt712-sdca: detect the SMART_MIC function during the probe stage
We shouldn't do any devm_ based allocation in the io_init(), this need
to happen in the probe(). Luckily, we now have an SDCA helper to look
in ACPI tables if a SMART_MIC function is exposed.
FIXME: the registers are not well handled today, the regmap lists
registers which are not really supported in all platforms. The regmap
needs to throw an error if those registers are accessed without
existing.
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Reviewed-by: Péter Ujfalusi <[email protected]>
Signed-off-by: Bard Liao <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions