mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-28 00:11:32 +00:00
sound: i2s: Tidy up a few comments
Fix a struct typo and drop a comment (and function prototype) which is not actually used. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
4a68a60e53
commit
f0b02f3dd6
1 changed files with 1 additions and 10 deletions
|
@ -78,7 +78,7 @@ struct i2s_reg {
|
||||||
/* This structure stores the i2s related information */
|
/* This structure stores the i2s related information */
|
||||||
struct i2s_uc_priv {
|
struct i2s_uc_priv {
|
||||||
unsigned int rfs; /* LR clock frame size */
|
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 audio_pll_clk; /* Audio pll frequency in Hz */
|
||||||
unsigned int samplingrate; /* sampling rate */
|
unsigned int samplingrate; /* sampling rate */
|
||||||
unsigned int bitspersample; /* bits per sample */
|
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,
|
int i2s_transfer_tx_data(struct i2s_uc_priv *pi2s_tx, void *data,
|
||||||
uint data_size);
|
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__ */
|
#endif /* __I2S_H__ */
|
||||||
|
|
Loading…
Add table
Reference in a new issue