diff options
| author | Mauro Carvalho Chehab <[email protected]> | 2013-01-04 17:27:47 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2013-01-04 19:13:07 -0200 |
| commit | 8303dc9952758ab3060a3ee9a19ecb6fec83c600 (patch) | |
| tree | 58ba536cc1f167e71d38e1c9eab1a4c0e66bf4a3 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 8cd7085ff460ead3aba6174052a408f4ad52ac36 (diff) | |
[media] em28xx: initialize button/I2C IR earlier
The em28xx-input is used by 3 different types of input devices:
- devices with buttons (like cameras and grabber devices);
- devices with I2C remotes;
- em2860 or latter chips with RC support embedded.
When the device has an I2C remote, all it needs to do is to call
the proper I2C driver (ir-i2c-kbd), passing the proper data to
it, and just leave the code.
Also, button devices have its own init code that doesn't depend on
having an IR or not (as a general rule, they don't have).
So, move its init code to fix bugs introduced by earlier patches
that prevent them to work.
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions