From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sylwester Nawrocki Subject: Re: [PATCH 2/2] spi/s3c64xx: Fix doubled clock disable on suspend Date: Mon, 21 Oct 2013 15:47:09 +0200 Message-ID: <5265305D.9040203@samsung.com> References: <1382362971-16763-1-git-send-email-k.kozlowski@samsung.com> <1382362971-16763-2-git-send-email-k.kozlowski@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailout4.w1.samsung.com ([210.118.77.14]:23572 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752274Ab3JUNr1 (ORCPT ); Mon, 21 Oct 2013 09:47:27 -0400 In-reply-to: <1382362971-16763-2-git-send-email-k.kozlowski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org List-Id: linux-samsung-soc@vger.kernel.org To: Krzysztof Kozlowski , Kukjin Kim , Mark Brown Cc: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, Kyungmin Park On 21/10/13 15:42, Krzysztof Kozlowski wrote: > Fix doubled clock disable and unprepare during PM suspend which triggered > the warnings: > The clocks may be already disabled before suspending. Check PM runtime > suspend status and disable clocks only if device is not suspended. > During resume do not enable the clocks if device is runtime suspended. > > Signed-off-by: Krzysztof Kozlowski > Signed-off-by: Kyungmin Park Reviewed-by: Sylwester Nawrocki From mboxrd@z Thu Jan 1 00:00:00 1970 From: s.nawrocki@samsung.com (Sylwester Nawrocki) Date: Mon, 21 Oct 2013 15:47:09 +0200 Subject: [PATCH 2/2] spi/s3c64xx: Fix doubled clock disable on suspend In-Reply-To: <1382362971-16763-2-git-send-email-k.kozlowski@samsung.com> References: <1382362971-16763-1-git-send-email-k.kozlowski@samsung.com> <1382362971-16763-2-git-send-email-k.kozlowski@samsung.com> Message-ID: <5265305D.9040203@samsung.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 21/10/13 15:42, Krzysztof Kozlowski wrote: > Fix doubled clock disable and unprepare during PM suspend which triggered > the warnings: > The clocks may be already disabled before suspending. Check PM runtime > suspend status and disable clocks only if device is not suspended. > During resume do not enable the clocks if device is runtime suspended. > > Signed-off-by: Krzysztof Kozlowski > Signed-off-by: Kyungmin Park Reviewed-by: Sylwester Nawrocki