diff options
author | Loic Poulain <loic.poulain@linaro.org> | 2021-02-10 16:39:17 +0100 |
---|---|---|
committer | Loic Poulain <loic.poulain@linaro.org> | 2021-03-01 16:48:59 +0100 |
commit | d2990325d021d2e91e489115c80eacb04aafc3a5 (patch) | |
tree | 859a4b947b1f1ab96a44abb84807a3c59e8bf9a5 | |
parent | 665cc0b5177e46a39972fd882c73e4912a2ba936 (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.c | 2 |
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; } |