From: Chris Ball Subject: Re: [PATCH v12] mmc: support BKOPS feature for eMMC Date: Mon, 17 Sep 2012 06:30:46 -0400 Message-ID: References: <5056E25A.6070207@samsung.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from void.printf.net ([89.145.121.20]:45397 "EHLO void.printf.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752668Ab2IQKao (ORCPT ); Mon, 17 Sep 2012 06:30:44 -0400 In-Reply-To: <5056E25A.6070207@samsung.com> (Jaehoon Chung's message of "Mon, 17 Sep 2012 17:42:02 +0900") Sender: linux-mmc-owner@vger.kernel.org List-Id: linux-mmc@vger.kernel.org To: Jaehoon Chung Cc: linux-mmc , Kyungmin Park , Maya Erez , Konstantin Dorfman , Ulf Hansson , Adrian Hunter , Per FORLIN , "svenkatr@ti.com" , Saugata Das , Hanumath Prasad , Sebastian Rasmussen , "Dong, Chuanxiao" , Minchan Kim Hi Jaehoon, On Mon, Sep 17 2012, Jaehoon Chung wrote: > @@ -2334,7 +2471,13 @@ int mmc_suspend_host(struct mmc_host *host) > mmc_bus_get(host); > if (host->bus_ops && !host->bus_dead) { > > - if (host->bus_ops->suspend) > + if (host->bus_ops->suspend) { > + if (mmc_card_doing_bkops(host->card)) { > + err = mmc_stop_bkops(host->card); > + if (err) > + goto out; > + } > + } > err = host->bus_ops->suspend(host); > > if (err == -ENOSYS || !host->bus_ops->resume) { Something's gone very wrong with the closing brace here. Maybe you want the closing brace to be a line later than it is? Thanks, - Chris. -- Chris Ball One Laptop Per Child