[alsa-devel] [PATCH v3 5/6] ASoC: Intel: add BYTCR machine driver with RT5640

Mark Brown broonie at kernel.org
Thu Nov 6 14:46:00 CET 2014


On Thu, Nov 06, 2014 at 06:41:42PM +0530, Vinod Koul wrote:
> On Thu, Nov 06, 2014 at 12:48:54PM +0000, Mark Brown wrote:

> > Don't bother with the wrapper functions, they're not adding anything.
> > Why are we using prepare() and complete() here - other machine drivers
> > don't need to do that?  Comments might be helpful...

> due to I2C. We have seen that codec is resumed but I2C is still
> not ready causing i2c failures, so moving to complete and prepare helps. I
> will add this comment. Will remove wrappers.

That doesn't sound right - this would affect almost all systems.
Deferred probe should ensure that the machine driver can't load until
after all the component devices (including the CODEC driver) are
instantiated and we should be suspending in the reverse order that we
probe the devices.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20141106/4a9eeb8b/attachment.sig>


More information about the Alsa-devel mailing list