During reboot, when the CS42L42 powers down, pops and clicks
may occur due to the codec not being shutdown gracefully.
This can be fixed by going through the suspend sequence,
which shuts down the codec cleanly inside the reboot_notify
hook, which is called on reboot.
Signed-off-by: Stefan Binding <email address hidden>
Signed-off-by: Vitaly Rodionov <email address hidden>
Signed-off-by: You-Sheng Yang <email address hidden>
630ff57...
by
Stefan Binding <email address hidden>
ALSA: hda/cs8409: Prevent pops and clicks during suspend
Some of the register values set for type detection cause pops during suspend,
ensure these are cleaned up after type detection completes, as well
ensuring that these are cleared when we suspend.
Signed-off-by: Stefan Binding <email address hidden>
Signed-off-by: Vitaly Rodionov <email address hidden>
Signed-off-by: You-Sheng Yang <email address hidden>
4a8eef6...
by
Stefan Binding <email address hidden>
ALSA: hda/cs8409: Unmute/Mute codec when stream starts/stops
Since delays when starting jack detection after initialization
have been reduced/removed, it is necessary to add back in an extra
20ms delay after the init sequence to allow the CS42L42 to power up
correctly.
Signed-off-by: Stefan Binding <email address hidden>
Signed-off-by: Vitaly Rodionov <email address hidden>
Signed-off-by: You-Sheng Yang <email address hidden>
b569d01...
by
Stefan Binding <email address hidden>
ALSA: hda/cs8409: Use timeout rather than retries for I2C transaction waits
Dolphin devices have CS8409 HDA Bridge connected to two CS42L42 codecs.
Codec 1 supports Headphone and Headset Mic.
Codec 2 supports Line Out.
Features:
- Front and Read Jacks appear as separate jacks; Removal or connection
of on jack should not affect the connection of the other.
- Front Jack only shows up on jack detection.
- Rear Jack is Phantom Jack.
- Separate Volume Controls for each Jack
Signed-off-by: Stefan Binding <email address hidden>
Signed-off-by: Lucas Tanure <email address hidden>
Signed-off-by: Vitaly Rodionov <email address hidden>
Signed-off-by: You-Sheng Yang <email address hidden>