diff options
| author | Anup Patel <[email protected]> | 2022-09-13 14:40:15 +0530 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2022-09-13 17:15:58 +0530 |
| commit | 8ce486a781f61941c136efd507a91677f34da713 (patch) | |
| tree | 53684711bc7bcfa04482762c2ff54d84e41b6e9d /lib/utils/serial/objects.mk | |
| parent | 46e744ab6736c0d14a1a1609d9dda3b802c164fe (diff) | |
lib: utils/fdt: Fix DT parsing in fdt_pmu_setup()
This patch does following fixes in fdt_pmu_setup():
1) If any of the event mapping DT property is absent or too small
then don't skip parsing of other DT properties.
2) Return failure if sbi_pmu_add_hw_event_counter_map() fails.
3) Return failure if sbi_pmu_add_raw_event_counter_map() fails.
Signed-off-by: Anup Patel <[email protected]>
Reviewed-by: Andrew Jones <[email protected]>
Reviewed-by: Atish Patra <[email protected]>
Diffstat (limited to 'lib/utils/serial/objects.mk')
0 files changed, 0 insertions, 0 deletions
