hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/arch/arm/mach-omap2/omap_hwmod_reset.c
....@@ -26,8 +26,6 @@
2626 #include <linux/kernel.h>
2727 #include <linux/errno.h>
2828
29
-#include <sound/aess.h>
30
-
3129 #include "omap_hwmod.h"
3230 #include "common.h"
3331
....@@ -39,28 +37,6 @@
3937 #define OMAP_RTC_KICK1_VALUE 0x95A4F1E0
4038 #define OMAP_RTC_STATUS_BUSY BIT(0)
4139 #define OMAP_RTC_MAX_READY_TIME 50
42
-
43
-/**
44
- * omap_hwmod_aess_preprogram - enable AESS internal autogating
45
- * @oh: struct omap_hwmod *
46
- *
47
- * The AESS will not IdleAck to the PRCM until its internal autogating
48
- * is enabled. Since internal autogating is disabled by default after
49
- * AESS reset, we must enable autogating after the hwmod code resets
50
- * the AESS. Returns 0.
51
- */
52
-int omap_hwmod_aess_preprogram(struct omap_hwmod *oh)
53
-{
54
- void __iomem *va;
55
-
56
- va = omap_hwmod_get_mpu_rt_va(oh);
57
- if (!va)
58
- return -EINVAL;
59
-
60
- aess_enable_autogating(va);
61
-
62
- return 0;
63
-}
6440
6541 /**
6642 * omap_rtc_wait_not_busy - Wait for the RTC BUSY flag