mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-14 08:51:46 -04:00
Merge tag 'rtc-6.18-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux
Pull RTC fixes from Alexandre Belloni: "The two reverts are for patches that I shouldn't have applied. The rx8025 patch fixes an issue present since 2022: - cpcap, tps6586x: revert incorrect irq enable/disable balance fix - rx8025: fix incorrect register reference" * tag 'rtc-6.18-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux: rtc: rx8025: fix incorrect register reference Revert "rtc: cpcap: Fix initial enable_irq/disable_irq balance" Revert "rtc: tps6586x: Fix initial enable_irq/disable_irq balance"
This commit is contained in:
@@ -268,7 +268,6 @@ static int cpcap_rtc_probe(struct platform_device *pdev)
|
||||
return err;
|
||||
|
||||
rtc->alarm_irq = platform_get_irq(pdev, 0);
|
||||
rtc->alarm_enabled = true;
|
||||
err = devm_request_threaded_irq(dev, rtc->alarm_irq, NULL,
|
||||
cpcap_rtc_alarm_irq,
|
||||
IRQF_TRIGGER_NONE | IRQF_ONESHOT,
|
||||
|
||||
@@ -316,7 +316,7 @@ static int rx8025_init_client(struct i2c_client *client)
|
||||
return hour_reg;
|
||||
rx8025->is_24 = (hour_reg & RX8035_BIT_HOUR_1224);
|
||||
} else {
|
||||
rx8025->is_24 = (ctrl[1] & RX8025_BIT_CTRL1_1224);
|
||||
rx8025->is_24 = (ctrl[0] & RX8025_BIT_CTRL1_1224);
|
||||
}
|
||||
out:
|
||||
return err;
|
||||
|
||||
@@ -258,7 +258,6 @@ static int tps6586x_rtc_probe(struct platform_device *pdev)
|
||||
|
||||
irq_set_status_flags(rtc->irq, IRQ_NOAUTOEN);
|
||||
|
||||
rtc->irq_en = true;
|
||||
ret = devm_request_threaded_irq(&pdev->dev, rtc->irq, NULL,
|
||||
tps6586x_rtc_irq,
|
||||
IRQF_ONESHOT,
|
||||
|
||||
Reference in New Issue
Block a user