1
linux/drivers/staging/lirc
Andy Walls 915e54733d [media] lirc_zilog: Don't acquire the rx->buf_lock in the poll() function
There is no need to take the rx->buf_lock in the the poll() function
as all the underling calls made on objects in the rx->buf lirc_buffer object
are protected by spinlocks.

Corrected a bad error return value in poll(): return POLLERR instead
of -ENODEV.

Added some comments to poll() for when, in the future, I forget what
poll() and poll_wait() are supposed to do.

[Jarod: minor debug spew fix]

Signed-off-by: Andy Walls <awalls@md.metrocast.net>
Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2011-03-22 19:23:54 -03:00
..
Kconfig [media] lirc: remove staging lirc_it87 and lirc_ite8709 drivers 2011-03-22 17:20:13 -03:00
lirc_bt829.c V4L/DVB: staging/lirc: CodingStyle cleanups 2010-08-02 16:43:35 -03:00
lirc_ene0100.h
lirc_igorplugusb.c [media] lirc_igorplugusb: add Fit PC2 device ID 2010-10-22 20:05:37 -02:00
lirc_imon.c [media] staging/lirc: fix mem leaks and ptr err usage 2011-01-19 12:52:22 -02:00
lirc_parallel.c [media] staging/lirc: fix mem leaks and ptr err usage 2011-01-19 12:52:22 -02:00
lirc_parallel.h V4L/DVB: staging/lirc: add lirc_parallel driver 2010-08-02 16:43:27 -03:00
lirc_sasem.c [media] staging/lirc: fix mem leaks and ptr err usage 2011-01-19 12:52:22 -02:00
lirc_serial.c [media] staging/lirc: fix mem leaks and ptr err usage 2011-01-19 12:52:22 -02:00
lirc_sir.c [media] staging/lirc: fix mem leaks and ptr err usage 2011-01-19 12:52:22 -02:00
lirc_ttusbir.c V4L/DVB: staging/lirc: CodingStyle cleanups 2010-08-02 16:43:35 -03:00
lirc_zilog.c [media] lirc_zilog: Don't acquire the rx->buf_lock in the poll() function 2011-03-22 19:23:54 -03:00
Makefile [media] lirc: remove staging lirc_it87 and lirc_ite8709 drivers 2011-03-22 17:20:13 -03:00
TODO V4L/DVB: staging/lirc: wire up Kconfig and Makefile bits 2010-08-02 16:43:34 -03:00
TODO.lirc_zilog [media] lirc_zilog: Update TODO.lirc_zilog 2011-01-19 11:46:11 -02:00