diff options
author | Hans de Goede <hdegoede@redhat.com> | 2023-09-12 13:32:43 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-09-12 15:37:49 +0200 |
commit | b5e85e535551bf82242aa5896e14a136ed3c156d (patch) | |
tree | 28971336422553b19ce40c9ddb71942e1d00c434 /sound/soc/soc-topology-test.c | |
parent | ASoC: rt5640: Do not disable/enable IRQ twice on suspend/resume (diff) | |
download | linux-b5e85e535551bf82242aa5896e14a136ed3c156d.tar.xz linux-b5e85e535551bf82242aa5896e14a136ed3c156d.zip |
ASoC: rt5640: Enable the IRQ on resume after configuring jack-detect
The jack-detect IRQ should be enabled *after* the jack-detect related
configuration registers have been programmed.
Move the enable_irq() call for this to after the register setup.
Fixes: 5fabcc90e79b ("ASoC: rt5640: Fix Jack work after system suspend")
Cc: Oder Chiou <oder_chiou@realtek.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20230912113245.320159-5-hdegoede@redhat.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/soc-topology-test.c')
0 files changed, 0 insertions, 0 deletions