kernel_optimize_test/drivers/media
Hans de Goede ee3629914b [media] gspca_main: Simplify read mode memory type checks
gspca_dev->memory == GSPCA_MEMORY_NO implies gspca_dev->nframes == 0,
so there is no need to check for both in dev_poll. The check in
dev_read also is more complex then needed, as dqbuf which dev_read
calls already does all necessary checks. Moreover dqbuf is holding
the proper locks while checking where as dev_read itself is not.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2011-01-19 11:44:58 -02:00
..
common [media] saa7146: Convert from .ioctl to .unlocked_ioctl 2011-01-19 11:28:10 -02:00
dvb [media] af9013: fix AF9013 TDA18271 IF config 2011-01-19 11:44:52 -02:00
radio [media] radio-gemtek-pci: remove duplicate driver 2011-01-19 11:28:23 -02:00
rc [media] ir-nec-decoder: fix repeat key issue 2010-12-31 13:46:01 -02:00
video [media] gspca_main: Simplify read mode memory type checks 2011-01-19 11:44:58 -02:00
Kconfig [media] dabusb: Move it to staging to be deprecated 2010-12-29 08:17:15 -02:00
Makefile [media] rename drivers/media/IR to drives/media/rc 2010-12-29 08:16:36 -02:00