Skip to content

[Bug][CML] MIC jack is off if plug in headset when HDA Analog isn't in use. #1938

Closed

Description

@jason77-wang

Similar to #1628 but not same. The difference is #1628 is for WHL platforms, and after setting the autosuepend_delay to codec driver, the mic could be detected on WHL platforms. On CML platforms, even setting the autosuspend_delay, the mic could not be detected, It also needs to revert a commit:

37a0794

ASoC: SOF: Intel: hda-loader: clear the IPC ack bit after FW_PURGE done

Set DONE bit after the FW_PURGE IPC is polled successfully, to clear the
interrupt and avoid the arrival of the confusing unexpected ipc.

Signed-off-by: Keyon Jie yang.jie@linux.intel.com

Activity

  1. kv2019i commented on Mar 26, 2020

    @kv2019i
    Collaborator

    @keyonjie Can you take a look at this. Reverting your patch seems to have a surprising effect to the HDA codec:
    #1837

  2. added
    bugSomething isn't working
    CMLApplies to Comet Lake platform
    HDAApplies to HD-Audio bus for codec connection
    on Mar 31, 2020
  3. keyonjie commented on Apr 10, 2020

    @keyonjie

    So are we good to close this one now?

  4. jason77-wang commented on Apr 10, 2020

    @jason77-wang
    Author

    I just built the latest topic/sof-dev branch, and tested on 2 LENOVO cml laptops, the issue is fixed. So the problem has nothing to do with:

    37a0794

    ASoC: SOF: Intel: hda-loader: clear the IPC ack bit after FW_PURGE done

    Set DONE bit after the FW_PURGE IPC is polled successfully, to clear the
    interrupt and avoid the arrival of the confusing unexpected ipc.

    Signed-off-by: Keyon Jie yang.jie@linux.intel.com

    Since I can't reproduce the issue anymore with the latest topic/sof-dev, now close this issue.

  5. mengdonglin commented on Apr 10, 2020

    @mengdonglin

    @kv2019i @keyonjie FYI. It seems this issue is also fixed by #1983

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

CMLApplies to Comet Lake platformHDAApplies to HD-Audio bus for codec connectionJack DetectionbugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions