[media] lirc_dev: return POLLHUP and POLLERR when device is gone
authorDavid Härdeman <david@hardeman.nu>
Mon, 1 May 2017 16:04:37 +0000 (13:04 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 6 Jun 2017 12:06:06 +0000 (09:06 -0300)
commit29debf3d9d214f600af38069e5954699934abe74
treecf00e530d1ab173dea53b05d8fc0146b8473e6b9
parent8e435e572ef9a890512b76b00e42e16f5553ca8f
[media] lirc_dev: return POLLHUP and POLLERR when device is gone

Most drivers return both values when the device is gone.

Signed-off-by: David Härdeman <david@hardeman.nu>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/rc/lirc_dev.c