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   <[email protected]>   <http://printf.net/>
One Laptop Per Child
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to