From patchwork Wed Feb 23 23:17:43 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Ball X-Patchwork-Id: 585981 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p1NNHwmh014636 for ; Wed, 23 Feb 2011 23:17:58 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753637Ab1BWXRp (ORCPT ); Wed, 23 Feb 2011 18:17:45 -0500 Received: from void.printf.net ([89.145.121.20]:51842 "EHLO void.printf.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753582Ab1BWXRo (ORCPT ); Wed, 23 Feb 2011 18:17:44 -0500 Received: from chris by void.printf.net with local (Exim 4.69) (envelope-from ) id 1PsNxn-00083b-4h; Wed, 23 Feb 2011 23:17:43 +0000 Date: Wed, 23 Feb 2011 23:17:43 +0000 From: Chris Ball To: Wolfram Sang Cc: linux-mmc@vger.kernel.org, =?utf-8?B?TWljaGHFgiBNaXJvc8WCYXc=?= Subject: [PATCH v2 2/3] mmc: cb710: Return err value in cb710_wait_while_busy() Message-ID: <20110223231743.GA30908@void.printf.net> References: <1298500153-28081-1-git-send-email-cjb@laptop.org> <1298500153-28081-2-git-send-email-cjb@laptop.org> <20110223230309.GB15104@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20110223230309.GB15104@pengutronix.de> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Wed, 23 Feb 2011 23:17:58 +0000 (UTC) diff --git a/drivers/mmc/host/cb710-mmc.c b/drivers/mmc/host/cb710-mmc.c index 66b4ce5..ce2a47b 100644 --- a/drivers/mmc/host/cb710-mmc.c +++ b/drivers/mmc/host/cb710-mmc.c @@ -205,7 +205,7 @@ static int cb710_wait_while_busy(struct cb710_slot *slot, uint8_t mask) "WAIT12: waited %d loops, mask %02X, entry val %08X, exit val %08X\n", limit, mask, e, x); #endif - return 0; + return err; } static void cb710_mmc_set_transfer_size(struct cb710_slot *slot,