Commit cb41f271 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Takashi Iwai
Browse files

ALSA: fm801: restore TEA575x state on resume

The suspend / resume cycle resets the settings of the FM tuner. Restore
frequency settings on resume.

Signed-off-by: default avatarAndy Shevchenko <>
Signed-off-by: default avatarTakashi Iwai <>
parent 37ba8fca
......@@ -1427,6 +1427,11 @@ static int snd_fm801_resume(struct device *dev)
for (i = 0; i < ARRAY_SIZE(saved_regs); i++)
fm801_iowrite16(chip, saved_regs[i], chip->saved_regs[i]);
if (!(chip->tea575x_tuner & TUNER_DISABLED))
snd_power_change_state(card, SNDRV_CTL_POWER_D0);
return 0;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment