From patchwork Mon Dec 1 19:49:19 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Tomlinson X-Patchwork-Id: 416549 X-Patchwork-Delegate: hs@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id E57BB14019D for ; Tue, 2 Dec 2014 07:08:05 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3CFF04B6F9; Mon, 1 Dec 2014 21:08:04 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kXxSfBUCszBq; Mon, 1 Dec 2014 21:08:04 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D54374B6FC; Mon, 1 Dec 2014 21:08:03 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3166D4B6E7 for ; Mon, 1 Dec 2014 20:59:06 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BEt+yFcVIdWp for ; Mon, 1 Dec 2014 20:59:06 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from gate2.alliedtelesis.co.nz (gate2.alliedtelesis.co.nz [202.36.163.20]) by theia.denx.de (Postfix) with ESMTPS id 947F94B6E8 for ; Mon, 1 Dec 2014 20:59:01 +0100 (CET) Received: from mmarshal3.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id AB63C844CD; Tue, 2 Dec 2014 08:50:11 +1300 (NZDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail; t=1417463411; bh=6RCQ+A4c1ucpVn8YQisszYrMmayPMYJHMRD+d/RT7wA=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=bC9MQtCNyDmNo+OnPNIFCeOAUF1xz2GlMI5nBnF/EJ68av0jlBkSnFMOERpArJr/N fT+otLXx8GEqXRbtGxqXgKlU6k94bybl/TrpAJLrDbN1ehjOt1qkHo/+kxO7GGLkU1 4dV1LWm9+VbLMHgNHA0J9+YE0zY0veHcXcH3rNvo= Received: from alliedtelesyn.co.nz (Not Verified[10.32.16.32]) by mmarshal3.atlnz.lc with MailMarshal (v7, 1, 0, 4874) id ; Tue, 02 Dec 2014 08:50:09 +1300 Received: from MAIL/SpoolDir by alliedtelesyn.co.nz (Mercury 1.48); 2 Dec 14 08:50:45 +1300 Received: from SpoolDir by MAIL (Mercury 1.48); 2 Dec 14 08:50:44 +1300 Received: from markto-dl.ws.atlnz.lc (10.33.24.21) by alliedtelesyn.co.nz (Mercury 1.48) with ESMTP; 2 Dec 14 08:50:37 +1300 Received: by markto-dl.ws.atlnz.lc (Postfix, from userid 1155) id DDAF6284419; Tue, 2 Dec 2014 08:50:03 +1300 (NZDT) From: Mark Tomlinson To: u-boot@lists.denx.de Date: Tue, 2 Dec 2014 08:49:19 +1300 Message-Id: <1417463359-3796-2-git-send-email-mark.tomlinson@alliedtelesis.co.nz> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1417463359-3796-1-git-send-email-mark.tomlinson@alliedtelesis.co.nz> References: <1417463359-3796-1-git-send-email-mark.tomlinson@alliedtelesis.co.nz> X-Mailman-Approved-At: Mon, 01 Dec 2014 21:08:02 +0100 Cc: Mark Tomlinson Subject: [U-Boot] [PATCH 2/2] i2c: Correct spelling error X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.13 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de "diconnect" and "disconnet" should both be "disconnect". Signed-off-by: Mark Tomlinson --- drivers/i2c/i2c_core.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/i2c/i2c_core.c b/drivers/i2c/i2c_core.c index 4539667..41cc3b8 100644 --- a/drivers/i2c/i2c_core.c +++ b/drivers/i2c/i2c_core.c @@ -174,7 +174,7 @@ static int i2c_mux_set_all(void) return 0; } -static int i2c_mux_disconnet_all(void) +static int i2c_mux_disconnect_all(void) { struct i2c_bus_hose *i2c_bus_tmp = &i2c_bus[I2C_BUS]; int i; @@ -197,7 +197,7 @@ static int i2c_mux_disconnet_all(void) ret = I2C_ADAP->write(I2C_ADAP, chip, 0, 0, &buf, 1); if (ret != 0) { - printf("i2c: mux diconnect error\n"); + printf("i2c: mux disconnect error\n"); return ret; } } while (i > 0); @@ -293,7 +293,7 @@ int i2c_set_bus_num(unsigned int bus) } #ifndef CONFIG_SYS_I2C_DIRECT_BUS - i2c_mux_disconnet_all(); + i2c_mux_disconnect_all(); #endif gd->cur_i2c_bus = bus;