Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752204AbbHRFoU (ORCPT ); Tue, 18 Aug 2015 01:44:20 -0400 Received: from mailout4.w1.samsung.com ([210.118.77.14]:22920 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751548AbbHRFoS (ORCPT ); Tue, 18 Aug 2015 01:44:18 -0400 X-AuditID: cbfec7f4-f79c56d0000012ee-2d-55d2c62e73e9 Message-id: <55D2C62B.1010209@samsung.com> Date: Tue, 18 Aug 2015 14:44:11 +0900 From: Krzysztof Kozlowski User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-version: 1.0 To: Joonyoung Shim , rtc-linux@googlegroups.com Cc: linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, stable@vger.kernel.org, a.zummo@towertech.it, alexandre.belloni@free-electrons.com, cw00.choi@samsung.com Subject: Re: [PATCH v2] rtc: s3c: fix disabled clocks for alarm References: <1439374906-27841-1-git-send-email-jy0922.shim@samsung.com> In-reply-to: <1439374906-27841-1-git-send-email-jy0922.shim@samsung.com> Content-type: text/plain; charset=windows-1252 Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrMLMWRmVeSWpSXmKPExsVy+t/xK7p6xy6FGuw+rm6x5OJVdouOa4uZ LK5/ec5q8eLeRRaL1y8MLS7vmsNmMeP8PiaL/Z0djBYLNj5idOD0eLLpIqPHnokn2Tz6tqxi 9Jg+7yeTx+dNcgGsUVw2Kak5mWWpRfp2CVwZ714fYyt4x17RN+0uYwPjBrYuRk4OCQETidtH p0DZYhIX7q0Hs4UEljJK9D+T6GLkArK/MErM6b3OCJLgFdCSuH7qIiuIzSKgKvHvwlQmEJtN wFhi8/IlYM2iAhESy1efhKoXlPgx+R4LiC0i4CHxc9MbNpChzAKbGCWeb/0F1iwsYC/xt+cx E8Rmd4lHzdPBBnECNex+PIu5i5EDqEFP4v5FLZAws4C8xOY1b5knMArMQrJiFkLVLCRVCxiZ VzGKppYmFxQnpeca6hUn5haX5qXrJefnbmKEBP2XHYyLj1kdYhTgYFTi4a3IuxQqxJpYVlyZ e4hRgoNZSYRXPxUoxJuSWFmVWpQfX1Sak1p8iFGag0VJnHfurvchQgLpiSWp2ampBalFMFkm Dk6pBkYrvllhVto3FYqqWX/ENqxfl3zB8WOn9e+c2OV3JnLtzVdgbll/YVuN3aFHaqWdHOVJ KcY1L99ffhRYYpyQfv2L8x5flS35aw0/n1VNK3ztOfmsPOMDnkmBH3MOu8wJ5AyPe3YldbHJ goggod+bozJcTjy37TTre3818ERY9fFHX49q+PkpVimxFGckGmoxFxUnAgCox4HFdgIAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1220 Lines: 36 On 12.08.2015 19:21, Joonyoung Shim wrote: > The clock enable/disable codes for alarm have been removed from > commit 24e1455493da ("drivers/rtc/rtc-s3c.c: delete duplicate clock > control") and the clocks are disabled even if alarm is set, so alarm > interrupt can't happen. > > The s3c_rtc_setaie function can be called several times with 'enabled' > argument having same value, so it needs to check whether clocks are > enabled or not. > > Signed-off-by: Joonyoung Shim > Cc: # v4.1 > --- > This is v2 of prior patch "[PATCH 4/4] rtc: s3c: enable/disable clocks > for alarm". > > Changelog for v2: > - commit messages is modified by Krzysztof suggestion > - make to backportable patch > - add Cc-stable > > drivers/rtc/rtc-s3c.c | 24 ++++++++++++++++++------ > 1 file changed, 18 insertions(+), 6 deletions(-) > Looks good now: Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/