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; }