Loading sound/aoa/core/gpio-pmf.c +4 −0 Original line number Original line Diff line number Diff line Loading @@ -182,6 +182,10 @@ static int pmf_set_notify(struct gpio_runtime *rt, if (!old && notify) { if (!old && notify) { irq_client = kzalloc(sizeof(struct pmf_irq_client), irq_client = kzalloc(sizeof(struct pmf_irq_client), GFP_KERNEL); GFP_KERNEL); if (!irq_client) { err = -ENOMEM; goto out_unlock; } irq_client->data = notif; irq_client->data = notif; irq_client->handler = pmf_handle_notify_irq; irq_client->handler = pmf_handle_notify_irq; irq_client->owner = THIS_MODULE; irq_client->owner = THIS_MODULE; Loading Loading
sound/aoa/core/gpio-pmf.c +4 −0 Original line number Original line Diff line number Diff line Loading @@ -182,6 +182,10 @@ static int pmf_set_notify(struct gpio_runtime *rt, if (!old && notify) { if (!old && notify) { irq_client = kzalloc(sizeof(struct pmf_irq_client), irq_client = kzalloc(sizeof(struct pmf_irq_client), GFP_KERNEL); GFP_KERNEL); if (!irq_client) { err = -ENOMEM; goto out_unlock; } irq_client->data = notif; irq_client->data = notif; irq_client->handler = pmf_handle_notify_irq; irq_client->handler = pmf_handle_notify_irq; irq_client->owner = THIS_MODULE; irq_client->owner = THIS_MODULE; Loading