[alsa-devel] [PATCH v2] ASoC: sgtl5000: defer the probe if clock is not found

Mark Brown broonie at kernel.org
Tue Jul 16 19:54:35 CEST 2013


On Tue, Jul 16, 2013 at 09:17:27AM +0800, Shawn Guo wrote:
> It's not always the case that clock is already available when sgtl5000
> get probed at the first time, e.g. the clock is provided by CPU DAI
> which may be probed after sgtl5000.  So let's defer the probe when
> devm_clk_get() call fails and give it chance to try later.

Meh, I went ahead and applied this but I'm not happy - there's been a
lot of problems with this code recently and this issue isn't being
discussed at the right level but there's users.  So please look into a
more general solution in the clock API.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20130716/5e766a32/attachment.sig>


More information about the Alsa-devel mailing list