diff options
author | Loic Poulain <loic.poulain@linaro.org> | 2021-02-10 16:39:17 +0100 |
---|---|---|
committer | Loic Poulain <loic.poulain@linaro.org> | 2021-02-16 16:08:25 +0100 |
commit | 5b052dda8bb594325d831bd312341aefab3fbb77 (patch) | |
tree | 7cdc8f8f59152c7fddfcb4f37ae52cb05f259c64 | |
parent | 7deb19fa84a8829a9b563723b910206b0e54bb50 (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; } |