Skip to content

Draft: [v2022 <- v2023pre] d/patches: Add patch for sgtl5000 clean shutdown

Since commit bf2aebccddef ("ASoC: sgtl5000: Fix noise on shutdown/remove"), the device power control registers are reset when the driver is removed/shutdown.

This is an issue when the device is configured to use the PLL clock. The device will stop responding if it is still configured to use the PLL clock but the PLL clock is powered down.

When rebooting linux, the probe function will show: sgtl5000 0-000a: Error reading chip id -11

Make sure that the CHIP_CLK_CTRL is reset to its default value before powering down the device.

This is a backport of !203 (merged)

https://phabricator.apertis.org/T9386

Merge request reports

Loading