From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: mach-imx6q: Enable the codec clock earlier
Date: Fri, 7 Jun 2013 23:20:51 +0100 [thread overview]
Message-ID: <20130607222051.GD18614@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <1370642870-8051-1-git-send-email-festevam@gmail.com>
On Fri, Jun 07, 2013 at 07:07:50PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
>
> In order sgtl5000 driver to probe successfully, we need to read its ID via I2C
> ,which requires that MCLK is driven prior to the I2C access.
>
> Otherwise we get the following probe error:
>
> sgtl5000: probe of 0-000a failed with error -5
> imx-sgtl5000 sound.13: ASoC: CODEC (null) not registered
> imx-sgtl5000 sound.13: snd_soc_register_card failed (-517)
> platform sound.13: Driver imx-sgtl5000 requests probe deferral
>
> Turn on MCLK sooner so that the probe can succeed.
Umm... doesn't that mean that imx-sgtl5000 should be getting this clock
and turning it on itself, and disabling it on device removal?
next prev parent reply other threads:[~2013-06-07 22:20 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-07 22:07 [PATCH] ARM: mach-imx6q: Enable the codec clock earlier Fabio Estevam
2013-06-07 22:20 ` Russell King - ARM Linux [this message]
2013-06-07 23:16 ` Fabio Estevam
2013-06-07 23:43 ` Troy Kisky
2013-06-07 23:49 ` Fabio Estevam
2013-06-07 23:49 ` Troy Kisky
2013-06-10 9:10 ` Mark Brown
2013-06-10 9:07 ` Mark Brown
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=20130607222051.GD18614@n2100.arm.linux.org.uk \
--to=linux@arm.linux.org.uk \
--cc=linux-arm-kernel@lists.infradead.org \
/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;
as well as URLs for NNTP newsgroup(s).