summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoic Poulain <loic.poulain@linaro.org>2021-02-10 16:39:17 +0100
committerLoic Poulain <loic.poulain@linaro.org>2021-02-16 16:08:25 +0100
commit5b052dda8bb594325d831bd312341aefab3fbb77 (patch)
tree7cdc8f8f59152c7fddfcb4f37ae52cb05f259c64
parent7deb19fa84a8829a9b563723b910206b0e54bb50 (diff)
mhi: uci: Fix removal signal
The convention for device removal is SIGHUP. Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
-rw-r--r--drivers/bus/mhi/uci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bus/mhi/uci.c b/drivers/bus/mhi/uci.c
index 730c6a37d144..c69efe93c96a 100644
--- a/drivers/bus/mhi/uci.c
+++ b/drivers/bus/mhi/uci.c
@@ -272,7 +272,7 @@ static __poll_t mhi_uci_poll(struct file *file, poll_table *wait)
poll_wait(file, &udev->uchan->dl_wq, wait);
if (!udev->enabled) {
- mask = EPOLLERR;
+ mask = EPOLLHUP;
goto done;
}