HSI: omap_ssi_port: switch to threaded pio irq

Move pio interrupt handler from tasklet into thread to
allow runtime_pm_get_sync calls without irq_safe being
set.

Signed-off-by: Sebastian Reichel <sre@kernel.org>
Tested-by: Pavel Machek <pavel@ucw.cz>
Tento commit je obsažen v:
Sebastian Reichel
2016-06-17 21:18:09 +02:00
rodič 927d3f8f73
revize c4a6257315
2 změnil soubory, kde provedl 24 přidání a 38 odebrání

Zobrazit soubor

@@ -76,7 +76,6 @@ struct omap_ssm_ctx {
* @irq: IRQ number
* @wake_irq: IRQ number for incoming wake line (-1 if none)
* @wake_gpio: GPIO number for incoming wake line (-1 if none)
* @pio_tasklet: Bottom half for PIO transfers and events
* @flags: flags to keep track of states
* @wk_refcount: Reference count for output wake line
* @work: worker for starting TX
@@ -100,7 +99,6 @@ struct omap_ssi_port {
unsigned int irq;
int wake_irq;
struct gpio_desc *wake_gpio;
struct tasklet_struct pio_tasklet;
bool wktest:1; /* FIXME: HACK to be removed */
unsigned long flags;
unsigned int wk_refcount;