From 4bbdef7c160939e364446ea4edf6efc46e786a48 Mon Sep 17 00:00:00 2001 From: Payal Kshirsagar Date: Thu, 26 Mar 2020 14:08:51 +0530 Subject: [PATCH] src: probe: fix line exceeding 80 characters Fix checkpatch warning of line over 80 characters. Signed-off-by: Payal Kshirsagar --- src/probe/probe.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/probe/probe.c b/src/probe/probe.c index 3890de4f4..1684b008a 100644 --- a/src/probe/probe.c +++ b/src/probe/probe.c @@ -80,7 +80,8 @@ struct probe_pdata { * \param[in] buffer address alignment. * \return 0 on success, error code otherwise. */ -static int probe_dma_buffer_init(struct probe_dma_buf *buffer, uint32_t size, uint32_t align) +static int probe_dma_buffer_init(struct probe_dma_buf *buffer, uint32_t size, + uint32_t align) { /* allocate new buffer */ buffer->addr = (uintptr_t)rballoc_align(0, SOF_MEM_CAPS_DMA, @@ -495,7 +496,8 @@ int probe_dma_remove(uint32_t count, uint32_t *stream_tag) * \param[in] size. * \return 0 on success, error code otherwise. */ -static int copy_to_pbuffer(struct probe_dma_buf *pbuf, void *data, uint32_t bytes) +static int copy_to_pbuffer(struct probe_dma_buf *pbuf, void *data, + uint32_t bytes) { uint32_t head; uint32_t tail; @@ -545,7 +547,8 @@ static int copy_to_pbuffer(struct probe_dma_buf *pbuf, void *data, uint32_t byte * \param[in] size. * \return 0 on success, error code otherwise. */ -static int copy_from_pbuffer(struct probe_dma_buf *pbuf, void *data, uint32_t bytes) +static int copy_from_pbuffer(struct probe_dma_buf *pbuf, void *data, + uint32_t bytes) { uint32_t head; uint32_t tail; @@ -602,7 +605,8 @@ static int copy_from_pbuffer(struct probe_dma_buf *pbuf, void *data, uint32_t by * \param[in] audio format. * \return 0 on success, error code otherwise. */ -static int probe_gen_header(struct comp_buffer *buffer, uint32_t size, uint32_t format) +static int probe_gen_header(struct comp_buffer *buffer, uint32_t size, + uint32_t format) { struct probe_pdata *_probe = probe_get(); struct probe_data_packet *header; @@ -637,7 +641,8 @@ static int probe_gen_header(struct comp_buffer *buffer, uint32_t size, uint32_t * \param[in] channels num. * \return format. */ -static uint32_t probe_gen_format(uint32_t frame_fmt, uint32_t rate, uint32_t channels) +static uint32_t probe_gen_format(uint32_t frame_fmt, uint32_t rate, + uint32_t channels) { uint32_t format = 0; uint32_t sample_rate;