• anzhou's avatar
    Tegra: fixup CNTPS_TVAL_EL1 delay timer reads · 923c221b
    anzhou authored
    
    
    The delay_timer driver for Tegra uses the CNTPS_TVAL_EL1 secure, physical,
    decrementing timer as the source. The current logic incorrectly marks this
    as an incrementing timer, by negating the timer value.
    
    This patch fixes the anomaly and updates the driver to remove this logic.
    Signed-off-by: default avataranzhou <anzhou@nvidia.com>
    Change-Id: I60490bdcaf0b66bf4553a6de3f4e4e32109017f4
    923c221b
tegra_delay_timer.c 1.47 KB