Files
recycled-ni-libstb-hal/libarmbox
Thilo Graf 0306131e6b libstb-hal: hdmi_cec: ensure time compatibility for rc_sync with _TIME_BITS=64
This commit replaces commit:

 libstb-hal: Fix compatibility issues with struct input_event time assignment

These issues arose because of updates in OE/Yocto versions (e.g. >= Honister),
which introduced changes requiring these adjustments.

- Added conditional compilation to check for input_event_sec.
- Updated hdmi_cec::rc_sync method to use appropriate time fields for 64-bit suseconds.
- Maintained backward compatibility for older systems with 32-bit suseconds.
- Leveraged macros defined in input.h for clarity and maintainability.

This should ensure proper handling of suseconds and maintain backward
compatibility with older systems.
This implementation uses input_event_sec and input_event_usec macros for clarity and maintainability.
This changes shuold resolve build issues encountered due to compatibility
problems with newer versions of libraries.

It is quite certain that similar adjustments will need to be made in
other files. However, since I have only worked on this platform so far,
only this part of the code was noticeable at first. It should be noted
that this problem likely does not "yet" affect older build systems,
but it will become necessary at some point.
This also applies to Neutrino (adjustments will follow).


Origin commit data
------------------
Branch: master
Commit: 7d247534d0
Author: Thilo Graf <dbt@novatux.de>
Date: 2024-09-02 (Mon, 02 Sep 2024)

Origin message was:
------------------
libstb-hal: hdmi_cec: ensure time compatibility for rc_sync with _TIME_BITS=64

This commit replaces commit:

   libstb-hal: Fix compatibility issues with struct input_event time assignment

These issues arose because of updates in OE/Yocto versions (e.g. >= Honister),
which introduced changes requiring these adjustments.

- Added conditional compilation to check for input_event_sec.
- Updated hdmi_cec::rc_sync method to use appropriate time fields for 64-bit suseconds.
- Maintained backward compatibility for older systems with 32-bit suseconds.
- Leveraged macros defined in input.h for clarity and maintainability.

This should ensure proper handling of suseconds and maintain backward
compatibility with older systems.
This implementation uses input_event_sec and input_event_usec macros for clarity and maintainability.
This changes shuold resolve build issues encountered due to compatibility
problems with newer versions of libraries.

It is quite certain that similar adjustments will need to be made in
other files. However, since I have only worked on this platform so far,
only this part of the code was noticeable at first. It should be noted
that this problem likely does not "yet" affect older build systems,
but it will become necessary at some point.
This also applies to Neutrino (adjustments will follow).


------------------
This commit was generated by Migit
2024-09-02 20:48:03 +02:00
..
2022-11-13 23:45:40 +01:00
2024-01-03 22:23:59 +01:00
2022-12-25 20:54:29 +01:00
2022-12-25 20:54:29 +01:00
2023-04-06 20:30:24 +02:00
2022-12-25 20:54:29 +01:00
2022-12-25 20:54:29 +01:00
2023-03-09 20:17:14 +01:00
2023-03-09 20:17:14 +01:00
2022-12-25 20:54:29 +01:00