lkml.org 
[lkml]   [2017]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4/9] ASoC: max98927: Added missing \n to end of dev_err messages
    Date
    Signed-off-by: Ryan Lee <ryans.lee@maximintegrated.com>
    ---
    Changes : added missing \n to end of dev_err

    sound/soc/codecs/max98927.c | 6 +++---
    1 file changed, 3 insertions(+), 3 deletions(-)

    diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs/max98927.c
    index c72a244..208d5ba 100644
    --- a/sound/soc/codecs/max98927.c
    +++ b/sound/soc/codecs/max98927.c
    @@ -160,7 +160,7 @@ static int max98927_dai_set_fmt(struct snd_soc_dai *codec_dai, unsigned int fmt)
    mode = MAX98927_PCM_MASTER_MODE_MASTER;
    break;
    default:
    - dev_err(codec->dev, "DAI clock mode unsupported");
    + dev_err(codec->dev, "DAI clock mode unsupported\n");
    return -EINVAL;
    }

    @@ -176,7 +176,7 @@ static int max98927_dai_set_fmt(struct snd_soc_dai *codec_dai, unsigned int fmt)
    invert = MAX98927_PCM_MODE_CFG_PCM_BCLKEDGE;
    break;
    default:
    - dev_err(codec->dev, "DAI invert mode unsupported");
    + dev_err(codec->dev, "DAI invert mode unsupported\n");
    return -EINVAL;
    }

    @@ -331,7 +331,7 @@ static int max98927_dai_hw_params(struct snd_pcm_substream *substream,
    chan_sz = MAX98927_PCM_MODE_CFG_CHANSZ_32;
    break;
    default:
    - dev_err(codec->dev, "format unsupported %d",
    + dev_err(codec->dev, "format unsupported %d\n",
    params_format(params));
    goto err;
    }
    --
    1.9.1
    \
     
     \ /
      Last update: 2017-08-26 02:42    [W:4.177 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site