ir-core improvements
Get series with b4
b4 am 20100408163717.05c3581c@pedraVersions newest first
- v1 Latest0 of 8 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 8 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/8] ir-core improvements
Yet another series of ir-core improvements.
This series contain two fixes, plus those improvements:
1) sysfs: better define the behaviour for in-hardware and in-software raw
decoders: different types require different functionalities;
2) sysfs: rename Remote Controllers as rc0, rc1, ...
this is better than rcrcv0, rcrcv1, ..., because some devices have also RC transmitters, and they may share some functionality with the receiver. So, a receiver and a transmitter will be later be differenciated via the associated device nodes;
3) Rework ir-raw-event to support a third type of decoders: in-hardware samplers, with in-software decoders. In this case, the IR events (duration and type) are provided by the hardware, and the protocol decode is done in software.
Those are the patches from this series:
David Härdeman (2):
V4L/DVB: rename sysfs remote controller devices from rcrcv to rc V4L/DVB: Teach drivers/media/IR/ir-raw-event.c to use durations
Mauro Carvalho Chehab (6):
V4L/DVB: em28xx: fix a regression caused by the rc-map changes V4L/DVB: ir: Make sure that the spinlocks are properly initialized V4L/DVB: ir-core: Distinguish sysfs attributes for in-hardware and raw decoders V4L/DVB: ir-core: properly present the supported and current protocols V4L/DVB: ir-core: fix gcc warning noise
V4L/DVB: ir-core: move subsystem internal calls to ir-core-priv.h
drivers/media/IR/ir-core-priv.h | 112 +++++++++++++ drivers/media/IR/ir-functions.c | 1 + drivers/media/IR/ir-keytable.c | 19 ++- drivers/media/IR/ir-nec-decoder.c | 241 +++++++++++---------------- drivers/media/IR/ir-raw-event.c | 161 ++++++++++-------- drivers/media/IR/ir-rc5-decoder.c | 154 +++++++++--------- drivers/media/IR/ir-sysfs.c | 100 ++++++++---- drivers/media/IR/rc-map.c | 3 +- drivers/media/video/em28xx/em28xx-input.c | 21 ++- drivers/media/video/saa7134/saa7134-input.c | 11 +- include/media/ir-core.h | 81 +++------- 11 files changed, 502 insertions(+), 402 deletions(-) create mode 100644 drivers/media/IR/ir-core-priv.h