aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx88/cx88-input.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-06-27 07:32:11 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-08-02 13:53:30 -0400
commit603044d883d610acdb44daecf94b0fca48880b5c (patch)
treea643691f114b3b720a21b4f2eabb9acc4860bbf6 /drivers/media/video/cx88/cx88-input.c
parenta469585b1cd41e6efd5c2746a655feb840525e5c (diff)
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>
Diffstat (limited to 'drivers/media/video/cx88/cx88-input.c')
0 files changed, 0 insertions, 0 deletions