commit | 603044d883d610acdb44daecf94b0fca48880b5c | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab@redhat.com> | Sun Jun 27 08:32:11 2010 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Mon Aug 02 14:53:30 2010 -0300 |
tree | a643691f114b3b720a21b4f2eabb9acc4860bbf6 | |
parent | a469585b1cd41e6efd5c2746a655feb840525e5c [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>