AndreiLux / Perseus-UNIVERSAL5410

This is a clean kernel glued together upon Samsung's last public branch of android-exynos-3.4 with sources provided by the OSRC releases. The OSRC release has been stripped clean of all non-i9500 related code and sourced, as much as possible through the original patches.
https://github.com/AndreiLux/Perseus-UNIVERSAL5410/wiki
Other
30 stars 19 forks source link

Equalizer needs audio path to be configured #6

Closed AndreiLux closed 11 years ago

AndreiLux commented 11 years ago

Enabling the equalizer no longer seems to be as simple as enabling it via its main register control as on WM8994/WM1811, but needs its audio paths to be configured so that it does anything and have an effect.

We don't have any documentation on the corresponding mixer registers for the WM5102, so solving this without the datasheet and proper register descriptions is like searching in a needle in a hay-stack.

Wolfson exposes the equalizer controls to the ALSA API, but that doesn't make us much smarter on the actual parameters needed for the input paths.

Here is a patch that adds the equalizer controls to the sound control.

https://gist.github.com/AndreiLux/5807343

The patch goes on top of: https://github.com/AndreiLux/Perseus-UNIVERSAL5410/commit/94e0efd6d206e4c924dbe119abd0f270b921f3c3 sound: SoC: WolfsonMicro WM5102 sound control

AndreiLux commented 11 years ago

Got it figured out by reverse engineering magic. Equalizer working.