Messages in this thread | | | Date | Thu, 19 May 2022 12:11:51 +0200 | From | Alexandre Belloni <> | Subject | Re: [PATCH] rtc: ftrtc010: Fix error handling in ftrtc010_rtc_probe |
| |
On Sun, 3 Apr 2022 05:49:12 +0000, Miaoqian Lin wrote: > In the error handling path, the clk_prepare_enable() function > call should be balanced by a corresponding 'clk_disable_unprepare()' > call , as already done in the remove function. > > clk_disable_unprepare calls clk_disable() and clk_unprepare(). > They will use IS_ERR_OR_NULL to check the argument. > > [...]
Applied, thanks!
[1/1] rtc: ftrtc010: Fix error handling in ftrtc010_rtc_probe commit: b520cbe5be37b1b9b401c0b6ecbdae32575273db
Best regards,
-- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
| |