drivers/misc: enable irq for goldfish pipe

Signed-off-by: rongyichang <rongyichang@xiaomi.com>
This commit is contained in:
rongyichang 2023-06-24 16:23:32 +08:00 committed by Xiang Xiao
parent 2ce2844480
commit ce6382cc0c

View File

@ -932,6 +932,8 @@ int goldfish_pipe_register(void *base, int irq)
return ret;
}
up_enable_irq(dev->irq);
dev->first_signalled_pipe = NULL;
dev->pipes_capacity = INITIAL_PIPES_CAPACITY;
dev->pipes = kmm_calloc(dev->pipes_capacity, sizeof(*dev->pipes));