Skip to content

[TGL] [SDW]: max98373/rt5682 SDW error at soc_component_read_no_lock during suspend #2510

Closed

Description

@naveen-manohar

Follow-up tracker to issue discussed at https://github.com/thesofproject/linux/issues/2473#issuecomment-707584225
Issue observed during suspend..
Recipe: TGL SoF_V010

LOG:
dmesg_regmap_print.log

[   17.837742] naveen _regmap_read- Line=2545 reg=0, cache_bypass=0, cache_only=0, regmap_readable=-1362004410, ret=0
[   17.838644] **rt5682 sdw:0:25d:5682:0: ASoC: error at soc_component_read_no_lock on sdw:0:25d:5682:0: -16**
..
[ 18.144826] max98373 sdw:1:19f:8373:0:7: ASoC: error at soc_component_read_no_lock on sdw:1:19f:8373:0:7: -16
[ 18.144846] naveen _regmap_read+ Line=2521 reg=8276, cache_bypass=0, cache_only=1, regmap_readable=-1362004410
[ 18.144847] max98373 sdw:1:19f:8373:0:7: ASoC: error at soc_component_read_no_lock on sdw:1:19f:8373:0:7: -16
[ 18.144864] naveen _regmap_read+ Line=2521 reg=8278, cache_bypass=0, cache_only=1, regmap_readable=-1362004410
[ 18.144869] naveen _regmap_read+ Line=2521 reg=8274, cache_bypass=0, cache_only=1, regmap_readable=-1362004410
[ 18.144870] naveen _regmap_read+ Line=2521 reg=8274, cache_bypass=0, cache_only=1, regmap_readable=-1362004410
[ 18.144873] naveen _regmap_read+ Line=2521 reg=8274, cache_bypass=0, cache_only=1, regmap_readable=-1362004410
[ 18.144878] naveen _regmap_read+ Line=2521 reg=8273, cache_bypass=0, cache_only=1, regmap_readable=-1362004410
[ 18.144881] naveen _regmap_read+ Line=2521 reg=8277, cache_bypass=0, cache_only=1, regmap_readable=-1362004410
[ 18.144882] max98373 sdw:1:19f:8373:0:7: ASoC: error at soc_component_read_no_lock on sdw:1:19f:8373:0:7: -16

Registers in reference:
RT5682_RESET
MAX98373_R2054_MEAS_ADC_PVDD_CH_READBACK
MAX98373_R2055_MEAS_ADC_THERM_CH_READBACK
MAX98373_R20B6_BDE_CUR_STATE_READBACK

Activity

  1. added
    SDWApplies to SoundWire bus for codec connection
    TGLApplies to Tiger Lake platform
    on Oct 19, 2020
  2. keyonjie commented on Oct 19, 2020

    @keyonjie

    @naveen-manohar this is known limitation, @naveen-manohar shall we close it as won't fix or invalid?

  3. added
    won't fixThis will not be worked on atm (e.g. a bug closed for lack of user request, hardware etc)
    on Oct 20, 2020
  4. naveen-manohar commented on Oct 21, 2020

    @naveen-manohar
    Author

    I will recheck post thesofproject/sof#3541 is resolved.. And re-open if any functional issue I do notice because of this error.. Currently I haven't noticed any issue so its good to be closed.

  5. cujomalainey commented on Oct 21, 2020

    @cujomalainey

    @keyonjie @mengdonglin if this is a non-issue then we should at least fix the log spam. To the uninformed observer this looks very bad.

  6. plbossart commented on Oct 21, 2020

    @plbossart
    Member

    I think #2521 is the 'right' way to fix this, e.g. if the user wants to get the value of a volatile register while the device is in suspend a -EBUSY is not a relevant answer. The device should be resumed.

    @naveen-manohar @RanderWang I don't have a device so you guys will have to test for me, thanks!

  7. removed
    won't fixThis will not be worked on atm (e.g. a bug closed for lack of user request, hardware etc)
    on Oct 21, 2020
  8. keyonjie commented on Oct 26, 2020

    @keyonjie

    @bardliao provide a fix #2532 for it, @ryans-lee can you help to review as it is a codec fix?

  9. keyonjie commented on Oct 26, 2020

    @keyonjie

    @ryans-lee as it is codec issue, can you help to check it? if it is not an issue, feel free to comment and close it.

  10. added
    codecCodec HW or driver restriction
    P3Low-impact bugs or features
    on Nov 2, 2020
  11. added
    MAX98373Issues with Max98373 codec
    bugSomething isn't working
    on Nov 9, 2020
  12. mengdonglin commented on Nov 23, 2020

    @mengdonglin
  13. plbossart commented on Dec 11, 2020

    @plbossart
    Member

    @bardliao I think this issue with volatile registers is fixed so I'll close. If you disagree please reopen.

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

Metadata

Metadata

Assignees

Labels

MAX98373Issues with Max98373 codecP3Low-impact bugs or featuresSDWApplies to SoundWire bus for codec connectionTGLApplies to Tiger Lake platformbugSomething isn't workingcodecCodec HW or driver restrictionfix submittedFix submitted but not merged yet

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions