android_kernel_xiaomi_sdm845/drivers/media
Mauro Carvalho Chehab 603044d883 V4L/DVB: em28xx-input: Don't generate one debug message for every get_key read
Instead of generating one printk for every IR read, prints it only when
count is different from the last count.

While here, as this code is called on every 100ms during the runtime
lifetime, do some performance optimization, assuming that, under normal
circumstances, it is unlikely that the driver would get a new key/key
repeat on every poll.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-08-02 14:53:30 -03:00
..
common V4L/DVB: tda18271: fix error detection during initialization of first instance 2010-08-02 14:48:43 -03:00
dvb V4L/DVB: ir-core: convert mantis to not use ir-functions.c 2010-08-02 14:53:07 -03:00
IR V4L/DVB: IR: add mceusb IR receiver driver 2010-08-02 14:05:49 -03:00
radio i2c: Remove all i2c_set_clientdata(client, NULL) in drivers 2010-06-03 11:33:58 +02:00
video V4L/DVB: em28xx-input: Don't generate one debug message for every get_key read 2010-08-02 14:53:30 -03:00
Kconfig V4L/DVB (13612): IR: Move common IR code to drivers/media/IR 2009-12-16 00:18:42 -02:00
Makefile V4L/DVB (13612): IR: Move common IR code to drivers/media/IR 2009-12-16 00:18:42 -02:00