Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1239700
| From | Mark Brown <broonie@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/2] ASoC: da7213: Add DT support to codec driver |
| Date | 2015-10-05 18:00 +0200 |
| Message-ID | <qggld-3nE-33@gated-at.bofh.it> (permalink) |
| References | <qggbw-3c7-11@gated-at.bofh.it> <qggbw-3c7-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Mon, Oct 05, 2015 at 04:40:18PM +0100, Adam Thomson wrote:
> This patch adds support for DT bindings in the codec driver.
> As part of this support, the mclk data can now be provided and
> used to control the mclk during codec operation.
Please split out the new MCLK configuration into a separate patch which
describes what that configuration is, it's much easier to review that
way. Otherwise there's a couple of minor issues here but nothing too
critical.
> case SND_SOC_BIAS_STANDBY:
> if (snd_soc_codec_get_bias_level(codec) == SND_SOC_BIAS_OFF) {
> + /* MCLK */
> + clk_prepare_enable(da7213->mclk);
> +
This doesn't check the return value.
> .driver = {
> .name = "da7213",
> + .of_match_table = da7213_of_match,
Please use of_match_ptr() here.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 1/2] ASoC: da7213: Add DT support to codec driver Adam Thomson <Adam.Thomson.Opensource@diasemi.com> - 2015-10-05 17:50 +0200
Re: [PATCH 1/2] ASoC: da7213: Add DT support to codec driver Mark Brown <broonie@kernel.org> - 2015-10-05 18:00 +0200
RE: [PATCH 1/2] ASoC: da7213: Add DT support to codec driver "Opensource [Adam Thomson]" <Adam.Thomson.Opensource@diasemi.com> - 2015-10-06 00:30 +0200
csiph-web