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-10 16:39:17 +0100
commit3b604559c346422b059a822ec2e5bd358ce5678d (patch)
tree299eb511eb602ada5a08f2bce2999a28dfad78b6
parent9f0223cd79c3f7f6b5672f9add1dc413ea3f1647 (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;
}