[PATCH 0/4] ir-core sysfs protocol selection simplification

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The following series changes the sysfs implementation in ir-core to
make the protocol selection work in the same manner for hardware
decoders and software decoders (the distinction between the two
should be hidden from the user as much as possible IMHO).

This also allows for a nice reduction of duplicated code between
the raw ir protocol decoders.

The first patch is merely preparatory and should hopefully not
be controversial.

The second and third patch should be considered RFC's on the
implementation of the sysfs interface.

The last patch is orthogonal to the rest of the patchset and should
hopefully not be controversial (though it would be nice if someone
with the actual hardware could test it).

---

David Härdeman (4):
      ir-core: remove IR_TYPE_PD
      ir-core: centralize sysfs raw decoder enabling/disabling
      ir-core: move decoding state to ir_raw_event_ctrl
      ir-core: remove ir-functions usage from cx231xx


 drivers/media/IR/ir-core-priv.h             |   40 ++++
 drivers/media/IR/ir-jvc-decoder.c           |  152 +---------------
 drivers/media/IR/ir-nec-decoder.c           |  151 +---------------
 drivers/media/IR/ir-raw-event.c             |  136 ++++++--------
 drivers/media/IR/ir-rc5-decoder.c           |  165 ++---------------
 drivers/media/IR/ir-rc6-decoder.c           |  154 +---------------
 drivers/media/IR/ir-sony-decoder.c          |  155 +---------------
 drivers/media/IR/ir-sysfs.c                 |  262 +++++++++++++++------------
 drivers/media/video/cx231xx/cx231xx-input.c |   47 +----
 drivers/media/video/cx231xx/cx231xx.h       |    2 
 drivers/media/video/cx88/cx88-input.c       |    8 -
 include/media/ir-kbd-i2c.h                  |    2 
 include/media/rc-map.h                      |    9 -
 13 files changed, 322 insertions(+), 961 deletions(-)

-- 
David Härdeman
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux