ASoC: cs42l42: Add support for set_jack calls

Replace the internal jack creation by set_jack call, so users can map
buttons in their machine driver
Also only enable jack detection IRQ after set_jack call

Signed-off-by: Lucas Tanure <tanureal@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20210426155303.853236-1-tanureal@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Lucas Tanure 2021-04-26 16:53:01 +01:00 • committed by Mark Brown
commit c26a5289e8
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
2 changed files with 26 additions and 19 deletions