lkml.org 
[lkml]   [2020]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 2/2] ASoC: q6asm: fix kernel doc warnings
    Date
    This patch fixes below kernel doc warnings on not describing all the parmeters

    sound/soc/qcom/qdsp6/q6asm.c:927: warning: Function parameter or member
    'stream_id' not described in 'q6asm_open_write'
    sound/soc/qcom/qdsp6/q6asm.c:927: warning: Function parameter or member
    'is_gapless' not described in 'q6asm_open_write'
    sound/soc/qcom/qdsp6/q6asm.c:1053: warning: Function parameter or member
    'stream_id' not described in 'q6asm_run'

    Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
    ---
    sound/soc/qcom/qdsp6/q6asm.c | 3 +++
    1 file changed, 3 insertions(+)

    diff --git a/sound/soc/qcom/qdsp6/q6asm.c b/sound/soc/qcom/qdsp6/q6asm.c
    index 34a6e894242e..91999c9f016c 100644
    --- a/sound/soc/qcom/qdsp6/q6asm.c
    +++ b/sound/soc/qcom/qdsp6/q6asm.c
    @@ -915,9 +915,11 @@ static int q6asm_ac_send_cmd_sync(struct audio_client *ac, struct apr_pkt *pkt)
    /**
    * q6asm_open_write() - Open audio client for writing
    * @ac: audio client pointer
    + * @stream_id: stream id of q6asm session
    * @format: audio sample format
    * @codec_profile: compressed format profile
    * @bits_per_sample: bits per sample
    + * @is_gapless: flag to indicate if this is a gapless stream
    *
    * Return: Will be an negative value on error or zero on success
    */
    @@ -1042,6 +1044,7 @@ static int __q6asm_run(struct audio_client *ac, uint32_t stream_id,
    * q6asm_run() - start the audio client
    *
    * @ac: audio client pointer
    + * @stream_id: stream id of q6asm session
    * @flags: flags associated with write
    * @msw_ts: timestamp msw
    * @lsw_ts: timestamp lsw
    --
    2.21.0
    \
     
     \ /
      Last update: 2020-09-25 10:51    [W:3.065 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site