diff options
author | Ladislav Michl <ladis@linux-mips.org> | 2018-02-23 11:15:01 +0100 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2018-02-28 13:41:30 -0800 |
commit | 58a54f03e73d67432216931854363e4ba15839b9 (patch) | |
tree | 2eff25bbed5762ec7ac87a2ad57b1fcac8567bab /drivers/clocksource/cadence_ttc_timer.c | |
parent | ad6e4b6fdc99ebbd520d2faf3c6d48198c74a99b (diff) | |
download | talos-obmc-linux-58a54f03e73d67432216931854363e4ba15839b9.tar.gz talos-obmc-linux-58a54f03e73d67432216931854363e4ba15839b9.zip |
clocksource: timer-ti-dm: Check prescaler value
Invalid value silently disables use of the prescaler.
Use -1 explicitely for that purpose and error out on
invalid value.
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'drivers/clocksource/cadence_ttc_timer.c')
0 files changed, 0 insertions, 0 deletions