#
#asahi · 2022-12-02 10:28
joskechadmed: is that on top of previous patch?
#asahi · 2022-12-02 10:27
chadmed_https://tpaste.us/EBNw
#asahi · 2022-12-02 10:26
chadmed_d'oh ignore that
#asahi · 2022-12-02 10:26
chadmed_https://tpaste.us/MkoX something like this?
#asahi · 2022-12-02 10:22
povikthat could explaine the tas2764/tas2770 difference
#asahi · 2022-12-02 10:22
chadmed_yeah
#asahi · 2022-12-02 10:22
povikbecause the ordering of registers will be different, so different registers will have been restored by the time sync gets to the power register
#asahi · 2022-12-02 10:21
chadmed_yeah but they both return regache_sync() so if you think that should happen before the power state is changed we can change that
#asahi · 2022-12-02 10:21
povikwell, but that could be explained by the bug i suspect
#asahi · 2022-12-02 10:21
povikand the code is indeed the same you say...
#asahi · 2022-12-02 10:21
chadmed_but like i said above its possible i was just getting lucky
#asahi · 2022-12-02 10:21
chadmed_ah yeah what i mean is that if the function works on one (tas2764 as tested on my end) then it should work on the other because theyre supposed to behave identically
#asahi · 2022-12-02 10:20
poviki was thinking of code
#asahi · 2022-12-02 10:20
povikah, as in actual sections in datasheet :)
#asahi · 2022-12-02 10:20
povikdatasheet sections?
#asahi · 2022-12-02 10:20
chadmed_the data sheet sections related to the shutdown states are copy-pasted so i assume theyre supposed to behave identically
#asahi · 2022-12-02 10:19
povikit should do sync, *then* up the power state
#asahi · 2022-12-02 10:19
povikif that's the case, i suspect there's a bug in the original resume function
#asahi · 2022-12-02 10:18
povikchadmed_: do you know if with your patch "ASoC: tas2770: software shutdown before suspend" the power-related code paths between tas2764/tas2770 are essentially the same?
#asahi · 2022-12-02 10:13
chadmed_i see
#asahi · 2022-12-02 10:11
povikif you override that during the suspend cycle you lose some info
#asahi · 2022-12-02 10:11
povikthe fields are supposed to reflect the desired power state as far as commanded by the sound card
#asahi · 2022-12-02 10:07
povikyou shouldn't touch dac_powered/unmuted in the resume/suspend functions
#asahi · 2022-12-02 10:06
povikchadmed_: sorry to be a party pooper but that patch is wrong
#asahi · 2022-12-02 09:57
joskehaha
#asahi · 2022-12-02 09:56
chadmed_the MS Sound plays when i login so... yeah thatd do it :P
#asahi · 2022-12-02 09:56
joskeor something played some ping on login or so
#asahi · 2022-12-02 09:56
chadmed_because that problem would logically affect both, the code paths are identical
#asahi · 2022-12-02 09:56
joskemight be a good idea
#asahi · 2022-12-02 09:55
chadmed_maybe ive just gotten lucky with tas2764 so far then, i should add the same fix to that
#asahi · 2022-12-02 09:55
joskein this case, yes :-)
#asahi · 2022-12-02 09:55
chadmed_no news is good news :)
#asahi · 2022-12-02 09:55
joskeso great!
#asahi · 2022-12-02 09:54
joskeno audio related stuff in dmesg on suspend nor resume
#asahi · 2022-12-02 09:52
chadmed_lessgoooo
#asahi · 2022-12-02 09:52
joskeWORKS!
#asahi · 2022-12-02 09:51
joskebuilding
#asahi · 2022-12-02 09:49
chadmed_depending on when PRE_PMD and POST_PMU get called, that might fix t
#asahi · 2022-12-02 09:49
chadmed_joske: https://tpaste.us/4owr
#asahi · 2022-12-02 09:42
chadmed_cant wait to yeet it outta here
#asahi · 2022-12-02 09:41
joskehaha yes
#asahi · 2022-12-02 09:41
chadmed_my server is slower at building kernels than this tiny laptop
#asahi · 2022-12-02 09:40
chadmed_ive got a match that _may_ work, just making sure it builds first
#asahi · 2022-12-02 09:35
joskeeither way, I'd still call this a win :-D just touch the volume button once on login
#asahi · 2022-12-02 09:34
joskehappy to try any fixes you may have
#asahi · 2022-12-02 09:31
chadmed_so this is weird
#asahi · 2022-12-02 09:31
joskeoh strange
#asahi · 2022-12-02 09:30
chadmed_but the chips are afaik identical apart from the class d amp's power?
#asahi · 2022-12-02 09:30
chadmed_not with tas2764. i dont have a machine with tas2770 in it
#asahi · 2022-12-02 09:30
joskechadmed: can you reproduce it too?

plus ›