Commit b5e85e5
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: 5fabcc9 ("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>1 parent 786120e commit b5e85e5
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2826 | 2826 | | |
2827 | 2827 | | |
2828 | 2828 | | |
2829 | | - | |
2830 | | - | |
2831 | 2829 | | |
2832 | 2830 | | |
2833 | 2831 | | |
| |||
2854 | 2852 | | |
2855 | 2853 | | |
2856 | 2854 | | |
| 2855 | + | |
2857 | 2856 | | |
2858 | 2857 | | |
2859 | 2858 | | |
| |||
0 commit comments