soundwire: sdw.h: repair names and format of kernel-doc comments
PATCH 1/1 soundwire: sdw.h: repair names and format of kernel-doc comments
Fix all kernel-doc warnings in sdw.h:
Warning: include/linux/soundwire/sdw.h:538 cannot understand function prototype: 'enum sdw_reg_bank'
Warning: include/linux/soundwire/sdw.h:779 struct member 'port_num' not described in 'sdw_transport_params'
Warning: include/linux/soundwire/sdw.h:792 struct member 'port_num' not described in 'sdw_enable_ch'
Warning: include/linux/soundwire/sdw.h:892 cannot understand function prototype: 'struct sdw_port_config'
Warning: include/linux/soundwire/sdw.h:906 cannot understand function prototype: 'struct sdw_stream_config'
Warning: include/linux/soundwire/sdw.h:925 cannot understand function prototype: 'enum sdw_stream_state'
Warning: include/linux/soundwire/sdw.h:942 cannot understand function prototype: 'struct sdw_stream_params'
Warning: include/linux/soundwire/sdw.h:960 cannot understand function prototype: 'struct sdw_stream_runtime'
Warning: include/linux/soundwire/sdw.h:1047 struct member 'bpt_stream_refcount' not described in 'sdw_bus'
---
Cc: Vinod Koul <[email protected]>
Cc: Bard Liao <[email protected]>
Cc: Pierre-Louis Bossart <[email protected]>
Cc: [email protected]
include/linux/soundwire/sdw.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)
include/linux/soundwire/sdw.h +9 -9
@@ -532,7 +532,7 @@ struct sdw_slave_intr_status { };/** -* sdw_reg_bank - SoundWire register banks +* enum sdw_reg_bank - SoundWire register banks * @SDW_BANK0: Soundwire register bank 0 * @SDW_BANK1: Soundwire register bank 1 */
@@ -751,7 +751,7 @@ struct sdw_port_params {* struct sdw_transport_params: Data Port Transport Parameters * * @blk_grp_ctrl_valid: Port implements block group control -* @num: Port number +* @port_num: Port number * @blk_grp_ctrl: Block group control value * @sample_interval: Sample interval * @offset1: Blockoffset of the payload data
@@ -782,7 +782,7 @@ struct sdw_transport_params {/** * struct sdw_enable_ch: Enable/disable Data Port channel * -* @num: Port number +* @port_num: Port number * @ch_mask: Active channel mask * @enable: Enable (true) /disable (false) channel */
@@ -885,7 +885,7 @@ void sdw_bus_master_delete(struct sdw_buvoid sdw_show_ping_status (struct sdw_bus *bus,bool sync_delay);/** -* sdw_port_config: Master or Slave Port configuration +* struct sdw_port_config: Master or Slave Port configuration * * @num: Port number * @ch_mask: channels mask for port
@@ -896,7 +896,7 @@ struct sdw_port_config { };/** -* sdw_stream_config: Master or Slave stream configuration +* struct sdw_stream_config: Master or Slave stream configuration * * @frame_rate: Audio frame rate of the stream, in Hz * @ch_count: Channel count of the stream
@@ -913,7 +913,7 @@ struct sdw_stream_config { };/** -* sdw_stream_state: Stream states +* enum sdw_stream_state: Stream states * * @SDW_STREAM_ALLOCATED: New stream allocated. * @SDW_STREAM_CONFIGURED: Stream configured
@@ -934,7 +934,7 @@ enum sdw_stream_state { };/** -* sdw_stream_params: Stream parameters +* struct sdw_stream_params: Stream parameters * * @rate: Sampling frequency, in Hz * @ch_count: Number of channels
@@ -947,7 +947,7 @@ struct sdw_stream_params { };/** -* sdw_stream_runtime: Runtime stream parameters +* struct sdw_stream_runtime: Runtime stream parameters * * @name: SoundWire stream name * @params: Stream parameters
@@ -983,7 +983,7 @@ struct sdw_stream_runtime {* @defer_msg: Defer message * @params: Current bus parameters * @stream_refcount: number of streams currently using this bus -* @btp_stream_refcount: number of BTP streams currently using this bus (should +* @bpt_stream_refcount: number of BTP streams currently using this bus (should * be zero or one, multiple streams per link is not supported). * @bpt_stream: pointer stored to handle BTP streams. * @ops: Master callback ops
Quoted 12 lines · Randy Dunlap
Fix all kernel-doc warnings in
sdw.h:Warning:
include/linux/soundwire/sdw.h:538cannot understand function prototype: 'enumsdw_reg_bank'
Warning:include/linux/soundwire/sdw.h:779struct member 'port_num' not described in 'sdw_transport_params'
Warning:include/linux/soundwire/sdw.h:792struct member 'port_num' not described in 'sdw_enable_ch'
Warning:include/linux/soundwire/sdw.h:892cannot understand function prototype: 'structsdw_port_config'
Warning:include/linux/soundwire/sdw.h:906cannot understand function prototype: 'structsdw_stream_config'
Warning:include/linux/soundwire/sdw.h:925cannot understand function prototype: 'enumsdw_stream_state'
Warning:include/linux/soundwire/sdw.h:942cannot understand function prototype: 'structsdw_stream_params'
Warning:include/linux/soundwire/sdw.h:960cannot understand function prototype: 'structsdw_stream_runtime'
Warning:include/linux/soundwire/sdw.h:1047struct member 'bpt_stream_refcount' not described in 'sdw_bus'
Quoted 2 lines
Signed-off-by Randy Dunlap <[email protected]>---
Thanks,
Charles
Quoted 12 lines · Randy Dunlap
Fix all kernel-doc warnings in
sdw.h:Warning:
include/linux/soundwire/sdw.h:538cannot understand function prototype: 'enumsdw_reg_bank'
Warning:include/linux/soundwire/sdw.h:779struct member 'port_num' not described in 'sdw_transport_params'
Warning:include/linux/soundwire/sdw.h:792struct member 'port_num' not described in 'sdw_enable_ch'
Warning:include/linux/soundwire/sdw.h:892cannot understand function prototype: 'structsdw_port_config'
Warning:include/linux/soundwire/sdw.h:906cannot understand function prototype: 'structsdw_stream_config'
Warning:include/linux/soundwire/sdw.h:925cannot understand function prototype: 'enumsdw_stream_state'
Warning:include/linux/soundwire/sdw.h:942cannot understand function prototype: 'structsdw_stream_params'
Warning:include/linux/soundwire/sdw.h:960cannot understand function prototype: 'structsdw_stream_runtime'
Warning:include/linux/soundwire/sdw.h:1047struct member 'bpt_stream_refcount' not described in 'sdw_bus'
Quoted 1 line
[...]
Applied, thanks!
[1/1] soundwire: sdw.h: repair names and format of kernel-doc comments
commit: 8167d7f674648cfd428ed49773522f9df5c4fdfd
Best regards,
Signature · 1 line
~Vinod