• Mohan Kumar's avatar
    ALSA: hda: Jack detection poll in suspend state · b33115bd
    Mohan Kumar authored
    HDA Jack detection logic doesn't work when the HDACODEC
    in runtime suspended state as unsol event won't be triggered
    during D3 state. As pulseaudio server in userspace rely on the
    jack mixer control status to show the audio devices in gui and
    any display sink device hotplug event during D3 state will never
    updates the jack status which will result in no audio device option
    available in userspace settings.
    
    The possible option available to resolve this issue is to run Jack
    polling worker thread even after codec suspend state. The choice can
    be made based on compromise between power saving or Jack detection in
    suspend state.
    Signed-off-by: default avatarMohan Kumar <mkumard@nvidia.com>
    Link: https://lore.kernel.org/r/20220411073210.23445-2-mkumard@nvidia.comSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    b33115bd
hda_codec.h 17.8 KB