From patchwork Thu Dec 27 20:24:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1018994 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="lZ44Py4V"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 43QhDT42pmz9s55 for ; Fri, 28 Dec 2018 07:25:45 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 43A63C21E26; Thu, 27 Dec 2018 20:25:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_MSPIKE_H2, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 0747EC21C3F; Thu, 27 Dec 2018 20:25:24 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 24047C21DFA; Thu, 27 Dec 2018 20:25:10 +0000 (UTC) Received: from mail-it1-f198.google.com (mail-it1-f198.google.com [209.85.166.198]) by lists.denx.de (Postfix) with ESMTPS id 486E3C21DFF for ; Thu, 27 Dec 2018 20:25:10 +0000 (UTC) Received: by mail-it1-f198.google.com with SMTP id i12so22061611ita.3 for ; Thu, 27 Dec 2018 12:25:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=KvmzYk4gNkC8WBXTZ9ij72qt9/WVy8Vm8g7vcJSaq4o=; b=lZ44Py4V5L26MTsGmj1AqgItqPrPTEqTzXNw/U4yW8oMwbAq8cqBjrZy6RT+zRbNDL WuaSAxCv55OWjy3RRmrrAgpJI+Q5ny930gUYXQWah26YmK0sLftSsh+uqUDBQKHuDGFQ pzLVFhJ0x8wc7ywQZnep6vIYSSglIGbE+f3cw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=KvmzYk4gNkC8WBXTZ9ij72qt9/WVy8Vm8g7vcJSaq4o=; b=dPmQCIPL5EUO91W1SmbQJFiagdkO13Sc2GXO3r3SMSla3ovNq8TtUuu2+r/rxO8+8a C18vrvK0paYzlhPgzPlXm63fHIcpEVYYKjBRioJhQi/qhUkAeFf2rBgh8863/ePwfk7a hllPz0nLE/nrrb+W3QIpwPYRuaMBcAWwF7spxisadP7HhGA2UvzWSKF+Z8dmGeTVvzIt 26ocPhkoRjyCa/iNKVb3cikjkR7Mv5XvwKIO04xckpfCCGKzng6WQUD9Dx4vkognNT1x 1iG1jOWhOFd4mlM2Ps10y1DxxFtJI8rognczLoqYAuaSgKDT81x5BqruXMGLSsIIOMlZ qnjg== X-Gm-Message-State: AA+aEWaPjmDmbWIwTmSojuM+QoxX0Q9X92X4tnileW3OVYlJZ4SWpKgA aXgSsbpfesUlW6gleZmY4nIw97+ZSVcZXaBM X-Google-Smtp-Source: AFSGD/Ui7IKqCWw07hwLhqxIqGBORyRRTkemPz9lrv4+yhNzRPXDE9vSjjJLeORr3kLDrNJ2gCQigaBNvefWF7fR X-Received: by 2002:a24:4746:: with SMTP id t67mr19063291itb.1.1545942309322; Thu, 27 Dec 2018 12:25:09 -0800 (PST) Date: Thu, 27 Dec 2018 13:24:38 -0700 In-Reply-To: <20181227202446.229042-1-sjg@chromium.org> Message-Id: <20181227202446.229042-4-sjg@chromium.org> Mime-Version: 1.0 References: <20181227202446.229042-1-sjg@chromium.org> X-Mailer: git-send-email 2.20.1.415.g653613c723-goog From: Simon Glass To: U-Boot Mailing List Subject: [U-Boot] [PATCH 03/11] sound: i2s: Tidy up a few comments X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Fix a struct typo and drop a comment (and function prototype) which is not actually used. Signed-off-by: Simon Glass Signed-off-by: Simon Glass --- include/i2s.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/include/i2s.h b/include/i2s.h index 28f6184811c..7760aab7c46 100644 --- a/include/i2s.h +++ b/include/i2s.h @@ -78,7 +78,7 @@ struct i2s_reg { /* This structure stores the i2s related information */ struct i2s_uc_priv { unsigned int rfs; /* LR clock frame size */ - unsigned int bfs; /* Bit slock frame size */ + unsigned int bfs; /* Bit clock frame size */ unsigned int audio_pll_clk; /* Audio pll frequency in Hz */ unsigned int samplingrate; /* sampling rate */ unsigned int bitspersample; /* bits per sample */ @@ -123,13 +123,4 @@ int i2s_tx_data(struct udevice *dev, void *data, uint data_size); int i2s_transfer_tx_data(struct i2s_uc_priv *pi2s_tx, void *data, uint data_size); -/* - * Initialise i2s transmiter - * - * @param pi2s_tx pointer of i2s transmitter parameter structure. - * - * @return int value 0 for success, -1 in case of error - */ -int i2s_tx_init(struct i2s_uc_priv *pi2s_tx); - #endif /* __I2S_H__ */