From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753453AbbHESW7 (ORCPT ); Wed, 5 Aug 2015 14:22:59 -0400 Received: from mail.kernel.org ([198.145.29.136]:39089 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752796AbbHESW5 (ORCPT ); Wed, 5 Aug 2015 14:22:57 -0400 Date: Wed, 5 Aug 2015 20:22:54 +0200 From: Sebastian Reichel To: Alexandre Belloni Cc: Nicolas Ferre , Boris Brezillon , Maxime Ripard , Jean-Christophe Plagniol-Villard , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Dmitry Eremin-Solenikov , linux-pm@vger.kernel.org Subject: Re: [PATCH 19/23] power/reset: at91-poweroff: get and use slow clock Message-ID: <20150805182253.GD11315@earth> References: <1438335599-3301-1-git-send-email-alexandre.belloni@free-electrons.com> <1438335599-3301-20-git-send-email-alexandre.belloni@free-electrons.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="GyRA7555PLgSTuth" Content-Disposition: inline In-Reply-To: <1438335599-3301-20-git-send-email-alexandre.belloni@free-electrons.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --GyRA7555PLgSTuth Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Fri, Jul 31, 2015 at 11:39:55AM +0200, Alexandre Belloni wrote: > Commit dca1a4b5ff6e ("clk: at91: keep slow clk enabled to prevent system > hang") added a workaround for the slow clock as it is not properly handled > by its users. >=20 > Get and use the slow clock as it is necessary for the at91 shutdown > controller. You call clk_prepare_enable during probe without a matching clk_disable_unprepare on module removal. -- Sebastian --GyRA7555PLgSTuth Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJVwlR9AAoJENju1/PIO/qaUjcP/jDI2qm8RaOHnog543dYjESf ZdIzvKyLOvs06Nyzj+s+gSYeeOAHWdjHenjJH3GC92J8p4DfPWvYIs5rOVUR/BbD 7faFLUBasDlFyB3B6bOIrSH3PNZysgnHLWgG+yK2iy/C7tviTVU4Lp73dQkuJSAR f7CSN6EpyxGfwCENKJCIPgQ1wxwo33Fcee8yFvJySbaFGo2YttP3oV9Cwl43lHNI 0Sjcn3rcINopowX3xrxjAtDaxWG+L0W7kcBuuio64/Gu81RmR/v0jmXNO/z8+Kyg eitGy8U/k/s6JNTaOBZ3ySZtYEvrf1CwfEU5nUa3ZOb/+36p5GYOI5yzsQj84Mag Gb1INV6r0yTSFlwQkc+mzozIaLTzl28EjqTUGOb7X3eOarA5KONJJWN8dl7wTtz0 OyCfF/2ZvIRTMVTiw1RadZXxXA6ZeooN7KHY7Vv4El+LU89DwwwxUeP0SkQv+i1p FpKNgWp6FUMEVg2TBiOsmpzla9ApX0vUJi8aQ7VBUYumQpwrxJF+gKNyRB4joVG0 lJ4JsWCUMU2PDheZx+D/xX/1jiWTgozX1Y+IuaKRQ4SlUZqZUMQG3bMCksL/7w10 lo8/pWp4Vc3z853342bb4pa6wyLl7Y8xn+PXYvqQqX0jkpwXx87cDKaQVIJOLtPL 422uIho2qi1d80idn0ig =XFkR -----END PGP SIGNATURE----- --GyRA7555PLgSTuth--