From ce6382cc0c18b22f6250f9027ca4f34c40ec3c71 Mon Sep 17 00:00:00 2001 From: rongyichang Date: Sat, 24 Jun 2023 16:23:32 +0800 Subject: [PATCH] drivers/misc: enable irq for goldfish pipe Signed-off-by: rongyichang --- drivers/misc/goldfish_pipe.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/misc/goldfish_pipe.c b/drivers/misc/goldfish_pipe.c index 52aa552d3f..1f705eadd6 100644 --- a/drivers/misc/goldfish_pipe.c +++ b/drivers/misc/goldfish_pipe.c @@ -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));