]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: mt6397: Don't call irq_dispose_mapping.
authorPi-Hsun Shih <pihsun@chromium.org>
Mon, 11 Mar 2019 07:55:40 +0000 (15:55 +0800)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 4 Apr 2019 08:07:10 +0000 (10:07 +0200)
commit7c44f8d31f6850a2a81eafaab9106faf733f9900
treeb6ab845e15327ee63bf8f56b0caf852ba7ae2bdc
parentfc0070fcde6eb66d7f4c2dba9565f38ef7fe8e7a
rtc: mt6397: Don't call irq_dispose_mapping.

The IRQ mapping was changed to not being created in the rtc-mt6397
driver, so the irq_dispose_mapping is no longer needed.
Also the dev_id passed to free_irq should be the same as the last
argument passed to request_threaded_irq.
This prevents a "Trying to free already-free IRQ 274" warning when
unbinding the driver.

Fixes: b5e56ecd8fdb ("mfd: mt6397: Create irq mappings in mfd core driver")
Signed-off-by: Pi-Hsun Shih <pihsun@chromium.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-mt6397.c