#asahi · 2022-12-02 11:03
poviki see#asahi · 2022-12-02 11:03
chadmed_tas2770 was like that too, but tas2764 wasnt#asahi · 2022-12-02 11:02
povikit doesn't do the cache write if theres SDZ?#asahi · 2022-12-02 11:01
povikoh wait, i just reread the code#asahi · 2022-12-02 10:59
povikbefore, the whole production was spoiled by the last act :D#asahi · 2022-12-02 10:59
povikat least, that's what it *will* do with your fix#asahi · 2022-12-02 10:58
povikonly during resume the sync restores the registers with shutdown in pstate first, only then is the pstate upped#asahi · 2022-12-02 10:58
povikin suspend, the shutdown write hits the cache only, so it's without effect#asahi · 2022-12-02 10:58
povikthat's what all the fuss in suspend/resume functions is about#asahi · 2022-12-02 10:57
povikno, you need special sequencing of the pstate restore#asahi · 2022-12-02 10:56
chadmed_maybe we should only do that if theres no SDZ pin#asahi · 2022-12-02 10:54
povikbut there's no special sequencing of a pstate register change#asahi · 2022-12-02 10:53
povikit's put into shutdown by SDZ (if it has one)#asahi · 2022-12-02 10:53
chadmed_is it put into shutdown elsewhere? if not thats like 8mA quiescent current if it just stays in mute #asahi · 2022-12-02 10:50
poviktas2562 doesn't touch the pstate register on suspend#asahi · 2022-12-02 10:48
poviklooks like tas2552 has it too#asahi · 2022-12-02 10:47
povikyeah, hit on tas2780 (this one i don't have :/)#asahi · 2022-12-02 10:45
j`ey:o#asahi · 2022-12-02 10:45
povikand i can eventually carry over the fix to others once i hook up the tower of codec evaluation boards TI sent me :p#asahi · 2022-12-02 10:45
povikprobably best to fix tas2764/2770 now#asahi · 2022-12-02 10:44
povikfrom experience there will be a bunch of TI codec drivers with this same faulty code#asahi · 2022-12-02 10:38
chadmed_heh of course#asahi · 2022-12-02 10:38
povikprobably until *we* revive shared gpio handling#asahi · 2022-12-02 10:37
chadmed_its been like 4 years now :P#asahi · 2022-12-02 10:37
chadmed_what do we do about the major problem then? just carry this until someone revives shared gpio handling? #asahi · 2022-12-02 10:37
chadmed_ack#asahi · 2022-12-02 10:37
poviknah, just give me a suggested-by#asahi · 2022-12-02 10:36
chadmed_you fine with a Co-developed-by? #asahi · 2022-12-02 10:36
joskehttps://open.spotify.com/track/6sT9MWlJManry3EQwf4V80?si=85452247a44347a7#asahi · 2022-12-02 10:36
poviknotwithstanding the other suspend fixes since those probably aren't upstreamable#asahi · 2022-12-02 10:36
povikchadmed_: you can send this one straight to the list if you feel like it#asahi · 2022-12-02 10:35
joskewell, you may be too young to know the song :-P#asahi · 2022-12-02 10:34
chadmed_i believe its "whip it" ;) #asahi · 2022-12-02 10:34
joskepush it real good#asahi · 2022-12-02 10:34
joskepush it#asahi · 2022-12-02 10:34
joskealso working!#asahi · 2022-12-02 10:32
joskerebooting#asahi · 2022-12-02 10:31
chadmed_yeah move it above the sync function #asahi · 2022-12-02 10:31
joskeshould I move the cache_only higher up?#asahi · 2022-12-02 10:31
chadmed_i force pushed to drop that silly revert commit that was making the DCO bot angry :P #asahi · 2022-12-02 10:30
joskereverted, and applied new one#asahi · 2022-12-02 10:30
povik:D#asahi · 2022-12-02 10:30
povikgot an email from github: @chadmed pushed 0 commits.#asahi · 2022-12-02 10:30
joskenono, I meant the first patch he posted here#asahi · 2022-12-02 10:30
povikah right#asahi · 2022-12-02 10:30
chadmed_no they applied the one from before that you said was wrong#asahi · 2022-12-02 10:29
povikjoske maybe means patches from PR, not the first link#asahi · 2022-12-02 10:29
chadmed_revert the previous one please, its wrong :P #asahi · 2022-12-02 10:28
povikchadmed_: probably best putting the cache_only(false) above sync, but yeah, like that#asahi · 2022-12-02 10:28
joskeor should that be reverted?