Major update via-pmu driver, hopefully last before we split it & do major cleanup.

 - Adapt to new power management
 - Make PM and cpufreq more robust by preventing ADB requests
   from getting in after the actual freq change / sleep one
 - Close a few races
 - Expose some IRQ stats & fix a problem where core99 machines
   were getting tons of spurrious ADB events
parent 39b40e7d
This diff is collapsed.
......@@ -127,6 +127,7 @@ extern int pmu_request(struct adb_request *req,
void (*done)(struct adb_request *), int nbytes, ...);
extern void pmu_poll(void);
extern void pmu_wait_complete(struct adb_request *req);
/* For use before switching interrupts off for a long time;
* warning: not stackable
......@@ -138,6 +139,7 @@ extern void pmu_enable_irled(int on);
extern void pmu_restart(void);
extern void pmu_shutdown(void);
extern void pmu_unlock(void);
extern int pmu_present(void);
extern int pmu_get_model(void);
......
Markdown is supported
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