From fb50cac6b833ddc2d2fda15ef4e47cd2451b9d0f Mon Sep 17 00:00:00 2001 From: Daniel Leung Date: Fri, 19 Oct 2018 09:22:46 -0700 Subject: [PATCH] audio: tlv320dac310x.c:141: fix too few arguments for format The logging statement specifies a parameter but one was never provided. So add it. Signed-off-by: Daniel Leung --- drivers/audio/tlv320dac310x.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/audio/tlv320dac310x.c b/drivers/audio/tlv320dac310x.c index be62b93ffc1..29dc1a058b3 100644 --- a/drivers/audio/tlv320dac310x.c +++ b/drivers/audio/tlv320dac310x.c @@ -138,7 +138,8 @@ static int codec_set_property(struct device *dev, { /* individual channel control not currently supported */ if (channel != AUDIO_CHANNEL_ALL) { - LOG_ERR("channel %u invalid. must be AUDIO_CHANNEL_ALL"); + LOG_ERR("channel %u invalid. must be AUDIO_CHANNEL_ALL", + channel); return -EINVAL; }