diff options
| author | Guenter Roeck <linux@roeck-us.net> | 2023-09-15 08:22:37 -0700 |
|---|---|---|
| committer | Thomas Gleixner <tglx@linutronix.de> | 2023-10-09 15:03:28 +0200 |
| commit | a0fddaa0b5a587cc8d185f8802fe7e48493c43ed (patch) | |
| tree | faab420f52fe0713d6b9e7396a4a48b5f510a4fa /drivers/clocksource/timer-imx-gpt.c | |
| parent | tick/nohz: Update comments some more (diff) | |
| download | linux-a0fddaa0b5a587cc8d185f8802fe7e48493c43ed.tar.gz linux-a0fddaa0b5a587cc8d185f8802fe7e48493c43ed.zip | |
rtc: Add API function to return alarm time bound by hardware limit
Add rtc_bound_alarmtime() to return the requested alarm timeout bound by
the maxmum alarm timeout that is supported by a given RTC.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20230915152238.1144706-2-linux@roeck-us.net
Diffstat (limited to 'drivers/clocksource/timer-imx-gpt.c')
0 files changed, 0 insertions, 0 deletions
