aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/platform/goldfish/goldfish_pipe.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/platform/goldfish/goldfish_pipe.c b/drivers/platform/goldfish/goldfish_pipe.c
index f33c6e0e7fb0..670b9b94f74b 100644
--- a/drivers/platform/goldfish/goldfish_pipe.c
+++ b/drivers/platform/goldfish/goldfish_pipe.c
@@ -469,6 +469,9 @@ static irqreturn_t goldfish_pipe_interrupt(int irq, void *dev_id)
469 469
470#ifdef CONFIG_64BIT 470#ifdef CONFIG_64BIT
471 channel = (u64)readl(dev->base + PIPE_REG_CHANNEL_HIGH) << 32; 471 channel = (u64)readl(dev->base + PIPE_REG_CHANNEL_HIGH) << 32;
472
473 if (channel == 0)
474 break;
472#endif 475#endif
473 channel |= readl(dev->base + PIPE_REG_CHANNEL); 476 channel |= readl(dev->base + PIPE_REG_CHANNEL);
474 477