Skip to content
Snippets Groups Projects
Commit 2026eb0f authored by Alessandro Rubini's avatar Alessandro Rubini
Browse files

trig-irq: bugfix in free_irq


I used a wrong dev_data in free_irq. Now it works properly on unload.

Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.com>
Acked-by: default avatarFederico Vaga <federico.vaga@gmail.com>
parent 6053b6b5
No related merge requests found
...@@ -123,7 +123,7 @@ static struct zio_ti *zti_create(struct zio_trigger_type *trig, ...@@ -123,7 +123,7 @@ static struct zio_ti *zti_create(struct zio_trigger_type *trig,
static void zti_destroy(struct zio_ti *ti) static void zti_destroy(struct zio_ti *ti)
{ {
pr_debug("%s:%d\n", __func__, __LINE__); pr_debug("%s:%d\n", __func__, __LINE__);
free_irq(zti_irq, &ti); free_irq(zti_irq, ti);
kfree(ti); kfree(ti);
} }
......
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