Re: [PATCH] ASoC: da7219-aad: Fix detection of plugged jack after resume
From: Mark Brown
Date: Tue Nov 12 2024 - 09:47:19 EST
On Tue, Nov 12, 2024 at 03:11:07PM +0100, Marek Maślanka wrote:
> On Tue, Nov 12, 2024 at 2:16 PM Mark Brown <broonie@xxxxxxxxxx> wrote:
> > This path is also (AFAICT only?) called when registering the jack by
> > da7219_set_jack(), I'm not immediately seeing the path for resume. This
> > suggests that what's going on here is an issue with the machine driver
> > unregistering the jack over suspend?
> In my case the da7219_set_jack() is directly called from avs_card_resume_post()
> (sound/soc/intel/avs/boards/da7219.c) so that could be a problem too.
Right, that's the machine driver unregistering the jack over suspend
thing that I mentioned. If there's some problem with the jack detection
being left enabled over suspend then that might need to be addressed in
the CODEC driver, but probably the machine driver shouldn't be doing
what it is.
Attachment:
signature.asc
Description: PGP signature