msm8953-mainline / linux

Linux mainline kernel with WIP patches for msm8953 devices
Other
111 stars 59 forks source link

Sound related fixes for xiaomi devices #147

Closed barni2000 closed 8 months ago

barni2000 commented 9 months ago

I have corrected some properties related to wcd_codec, and snd_card, wcnss_iris. This PR contains fixes for mido, vince, tissot, daisy, markw, ysl and onclite.

vipaoL commented 9 months ago

I don't really understand these changes but it works on my markw

M0Rf30 commented 9 months ago

Great. just to understand. where do you take threshold values?

barni2000 commented 9 months ago

Great. just to understand. where do you take threshold values?

Vince: https://github.com/MiCode/Xiaomi_Kernel_OpenSource/blob/3c1b6acbe6e7329a39028dc44ec54cf8b0264bae/sound/soc/msm/msm8952.c#L1737-L1746

Tissot: https://github.com/MiCode/Xiaomi_Kernel_OpenSource/blob/d0ac7d6c37e6277595a3d369ffc177a8c22d0e87/sound/soc/msm/msm8952.c#L1668-L1677

Daisy: https://github.com/MiCode/Xiaomi_Kernel_OpenSource/blob/46a57878aa01f4e7bfc7ba0efd4a4ea02e7de557/sound/soc/msm/msm8952.c#L1654-L1663

Ysl: https://github.com/MiCode/Xiaomi_Kernel_OpenSource/blob/09f6450330b57b8df8b4472917c2d71adc0386d4/sound/soc/msm/msm8952.c#L1661-L1675

Markw: https://github.com/MiCode/Xiaomi_Kernel_OpenSource/blob/e6b89f11f414f116294ebaa02a603d39e5bb0a09/sound/soc/msm/msm8952.c#L52 https://github.com/MiCode/Xiaomi_Kernel_OpenSource/blob/e6b89f11f414f116294ebaa02a603d39e5bb0a09/sound/soc/msm/msm8952.c#L1613-L1622

Mido: https://github.com/MiCode/Xiaomi_Kernel_OpenSource/blob/e12ec432a9ef867a3602a8e63322bc6b7aabcfd2/sound/soc/msm/msm8952.c#L1548-L1557

Onclite: https://github.com/MiCode/Xiaomi_Kernel_OpenSource/blob/029f06c5491b791cc05913609022c6584e9ed66c/audio-kernel/asoc/msm8952.c#L1610-L1619