Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e1aed7ca authored by Eric Miao's avatar Eric Miao
Browse files

[ARM] pxa: remove the unnecessary restoring of MFP registers



MFP registers are saved and restored by the mfp sys_device before all
other platform devices, and it is unnecessary here.

Cc: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarEric Miao <eric.y.miao@gmail.com>
parent bedbda97
Loading
Loading
Loading
Loading
+0 −10
Original line number Original line Diff line number Diff line
@@ -345,16 +345,6 @@ EXPORT_SYMBOL_GPL(pxa2xx_ac97_hw_suspend);


int pxa2xx_ac97_hw_resume(void)
int pxa2xx_ac97_hw_resume(void)
{
{
	if (cpu_is_pxa25x() || cpu_is_pxa27x()) {
		pxa_gpio_mode(GPIO31_SYNC_AC97_MD);
		pxa_gpio_mode(GPIO30_SDATA_OUT_AC97_MD);
		pxa_gpio_mode(GPIO28_BITCLK_AC97_MD);
		pxa_gpio_mode(GPIO29_SDATA_IN_AC97_MD);
	}
	if (cpu_is_pxa27x()) {
		/* Use GPIO 113 or 95 as AC97 Reset on Bulverde */
		set_resetgpio_mode(RESETGPIO_NORMAL_ALTFUNC);
	}
	clk_enable(ac97_clk);
	clk_enable(ac97_clk);
	return 0;
	return 0;
}
}