From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
To: Mark Brown <broonie@kernel.org>
Cc: lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com,
alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ASoC: msm8916-wcd-digital: Add sidetone support
Date: Thu, 6 Jun 2019 13:17:43 +0100 [thread overview]
Message-ID: <db763118-b3d6-cddc-c8ea-965d67f8a798@linaro.org> (raw)
In-Reply-To: <20190606115441.GB2456@sirena.org.uk>
Thanks for the review,
On 06/06/2019 12:54, Mark Brown wrote:
> On Thu, Jun 06, 2019 at 12:40:02PM +0100, Srinivas Kandagatla wrote:
>
>> + default:
>> + pr_err("%s: event = %d not expected\n", __func__, event);
>> + }
>
> dev_err() please (and a break; as well, it isn't strictly needed but
> stops people having to check that it isn't needed).
>
Sure I will add break.
I think the message itself is not required here as we would never come
to this path.
>> + SOC_SINGLE_EXT("IIR1 Enable Band1", IIR1, BAND1, 1, 0,
>> + msm8x16_wcd_get_iir_enable_audio_mixer,
>> + msm8x16_wcd_put_iir_enable_audio_mixer),
>
> The indentation here is *really* messed up. What are these controls,
> with names like "Enable" they sound like on/off controls in which case
> they should be standard Switch controls.
Yes, Switch controls should work, I will try that.
--srini
>
prev parent reply other threads:[~2019-06-06 12:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-06 11:40 Srinivas Kandagatla
2019-06-06 11:54 ` Mark Brown
2019-06-06 12:17 ` Srinivas Kandagatla [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=db763118-b3d6-cddc-c8ea-965d67f8a798@linaro.org \
--to=srinivas.kandagatla@linaro.org \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=perex@perex.cz \
--cc=tiwai@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®