diff mbox

[1/2] ASoC: fsl_asrc: Fix line continuation format

Message ID 370a4a8e3963eb4dc4c4e13defda5170eee72753.1510849466.git.joe@perches.com (mailing list archive)
State New, archived
Headers show

Commit Message

Joe Perches Nov. 16, 2017, 4:25 p.m. UTC
Line continuations with excess spacing causes unexpected output

Signed-off-by: Joe Perches <joe@perches.com>
---
 sound/soc/fsl/fsl_asrc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Nicolin Chen Nov. 16, 2017, 7:01 p.m. UTC | #1
On Thu, Nov 16, 2017 at 08:25:46AM -0800, Joe Perches wrote:
> Line continuations with excess spacing causes unexpected output
> 
> Signed-off-by: Joe Perches <joe@perches.com>

Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>

> ---
>  sound/soc/fsl/fsl_asrc.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/sound/soc/fsl/fsl_asrc.c b/sound/soc/fsl/fsl_asrc.c
> index 806d39927318..ed683fe8b94a 100644
> --- a/sound/soc/fsl/fsl_asrc.c
> +++ b/sound/soc/fsl/fsl_asrc.c
> @@ -288,8 +288,8 @@ static int fsl_asrc_config_pair(struct fsl_asrc_pair *pair)
>  
>  	if ((outrate > 8000 && outrate < 30000) &&
>  	    (outrate/inrate > 24 || inrate/outrate > 8)) {
> -		pair_err("exceed supported ratio range [1/24, 8] for \
> -				inrate/outrate: %d/%d\n", inrate, outrate);
> +		pair_err("exceed supported ratio range [1/24, 8] for inrate/outrate: %d/%d\n",
> +			 inrate, outrate);
>  		return -EINVAL;
>  	}
>  
> -- 
> 2.15.0
>
diff mbox

Patch

diff --git a/sound/soc/fsl/fsl_asrc.c b/sound/soc/fsl/fsl_asrc.c
index 806d39927318..ed683fe8b94a 100644
--- a/sound/soc/fsl/fsl_asrc.c
+++ b/sound/soc/fsl/fsl_asrc.c
@@ -288,8 +288,8 @@  static int fsl_asrc_config_pair(struct fsl_asrc_pair *pair)
 
 	if ((outrate > 8000 && outrate < 30000) &&
 	    (outrate/inrate > 24 || inrate/outrate > 8)) {
-		pair_err("exceed supported ratio range [1/24, 8] for \
-				inrate/outrate: %d/%d\n", inrate, outrate);
+		pair_err("exceed supported ratio range [1/24, 8] for inrate/outrate: %d/%d\n",
+			 inrate, outrate);
 		return -EINVAL;
 	}