Messages in this thread | | | From | Xiaofei Tan <> | Subject | [PATCH 0/6] spin lock usage optimization for RTC drivers | Date | Wed, 3 Feb 2021 20:39:35 +0800 |
| |
Replace spin_lock_irqsave with spin_lock in hard IRQ of RTC drivers. There is no function changes, but may speed up if interrupt happen too often.
Xiaofei Tan (6): rtc: cmos: Replace spin_lock_irqsave with spin_lock in hard IRQ rtc: pm8xxx: Replace spin_lock_irqsave with spin_lock in hard IRQ rtc: r7301: Replace spin_lock_irqsave with spin_lock in hard IRQ rtc: tegra: Replace spin_lock_irqsave with spin_lock in hard IRQ rtc: mxc: Replace spin_lock_irqsave with spin_lock in hard IRQ rtc: mxc_v2: Replace spin_lock_irqsave with spin_lock in hard IRQ
drivers/rtc/rtc-cmos.c | 5 ++--- drivers/rtc/rtc-mxc.c | 5 ++--- drivers/rtc/rtc-mxc_v2.c | 7 +++---- drivers/rtc/rtc-pm8xxx.c | 9 ++++----- drivers/rtc/rtc-r7301.c | 5 ++--- drivers/rtc/rtc-tegra.c | 6 +++--- 6 files changed, 16 insertions(+), 21 deletions(-)
-- 2.8.1
| |