[v2] media: rc: fix Meson IR decoder
martin.blumenstingl at googlemail.com
Sun Jun 26 14:06:20 PDT 2016
The meson-ir driver uses the wrong offset (at least according to
Amlogic's reference driver as well as the datasheets of the
Meson8b/S805 and GXBB/S905).
This means that we are getting incorrect durations (REG1_TIME_IV)
reported from the hardware.
This problem was also noticed by some people trying to use this on an
ODROID-C1 and ODROID-C2 - the workaround there (probably because the
datasheets were not publicy available yet at that time) was to switch
to ir_raw_event_store_edge (which leaves it up to the kernel to measure
the duration of a pulse). See  and  for the corresponding
Please note that I was only able to test this on an GXBB/S905 based
device (due to lack of other hardware).
More information about the linux-amlogic