22 May
2013
22 May
'13
5:19 p.m.
Hi,
In the following emails, you will find the fixes I currently have for the CS42L52 driver.
The fixes are:
- Set both Master Volume A & B init value to 0x88 (otherwise left channel and right channel master volume would not be the same after init).
- Use IFACE_CTL2 register for Microphone Bias enum (IFACE_CTL1 is clearly not controling microphone bias according to the datasheet).
- Various controls would use a bogus shift value, resulting in only the high order bits being updated when changing them.
- The wrong mask was used when muting/unmuting the codec, resutling in the wrong part of the PB_CTL1 register being cleared, especially the headphone analog gain part.
All those patches are against the latest linus tree.
Regards,
--
Nicolas Schichan