Resend: [patch] hsi : Avoid race condition between HSI controller and HSI client when system restart and power down

2013-02-21 Thread xtu4
Avoid race condition between HSI controller and HSI client when system restart and power down hsi_isr_tasklet disabled in HSI_controller exit, but before HSI controller exit, HSI client will cleanup, this cleanup will destroy the spinlock used by the hsi_isr_tasklet,so if after HSI client clea

[patch] hsi : Avoid race condition between HSI controller and HSI client when system restart and power down

2013-02-21 Thread xtu4
Avoid race condition between HSI controller and HSI client when system restart and power down hsi_isr_tasklet disabled in HSI_controller exit, but before HSI controller exit, HSI client will cleanup, this cleanup will destroy the spinlock used by the hsi_isr_tasklet,so if after HSI client cle