Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754742AbbK0OW0 (ORCPT ); Fri, 27 Nov 2015 09:22:26 -0500 Received: from eusmtp01.atmel.com ([212.144.249.242]:3663 "EHLO eusmtp01.atmel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754198AbbK0OWY (ORCPT ); Fri, 27 Nov 2015 09:22:24 -0500 Date: Fri, 27 Nov 2015 15:22:23 +0100 From: Ludovic Desroches To: Ulf Hansson CC: Ludovic Desroches , linux-mmc , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Nicolas Ferre Subject: Re: [PATCH] mmc: sdhci-of-at91: controller is suspended too early Message-ID: <20151127142223.GA11016@odux.rfo.atmel.com> Mail-Followup-To: Ulf Hansson , linux-mmc , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Nicolas Ferre References: <1448556091-502-1-git-send-email-ludovic.desroches@atmel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 940 Lines: 26 On Fri, Nov 27, 2015 at 03:11:58PM +0100, Ulf Hansson wrote: > On 26 November 2015 at 17:41, Ludovic Desroches > wrote: > > When calling sdhci_add_host(), the controller is already suspended. It > > causes to read 0 in registers. > > Increment the device's usage counter before calling sdhci_add_host(), > > decrement it after and put it in suspend if it is possible. > > > > Signed-off-by: Ludovic Desroches > > Fixes: "mmc: sdhci-of-at91: add PM support" > > Thanks, applied for next! > > Actually I decided to squash this change into the "Fixes commit" > itself, thus not breaking bisecting. Ok perfect. Thanks Regards Ludovic -- 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/