diff mbox series

[U-Boot,03/11] sound: i2s: Tidy up a few comments

Message ID 20181227202446.229042-4-sjg@chromium.org
State Accepted
Commit f0b02f3dd674783b02ee18e1c841b47c294318f7
Delegated to: Simon Glass
Headers show
Series sound: Add sound support for Nyan | expand

Commit Message

Simon Glass Dec. 27, 2018, 8:24 p.m. UTC
Fix a struct typo and drop a comment (and function prototype) which is not
actually used.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 include/i2s.h | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

Comments

Simon Glass Jan. 21, 2019, 11:42 p.m. UTC | #1
Fix a struct typo and drop a comment (and function prototype) which is not
actually used.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 include/i2s.h | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

Applied to u-boot-dm, thanks!
diff mbox series

Patch

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__ */