[alsa-devel] [PATCH 1/4] ASoC:rt5670:Add runtime PM support

Mark Brown broonie at kernel.org
Fri Nov 7 10:44:19 CET 2014


On Fri, Nov 07, 2014 at 09:24:54AM +0000, Lin, Mengdong wrote:

> > > +static int rt5670_runtime_resume(struct device *dev) {
> > > +	return 0;
> > > +}

> > This should be undoing the change done on suspend otherwise we'll be stuck
> > on the internal clock after resuming.  Alternatively if something will undo that
> > elsewhere then presumably we don't need to use runtime PM to select the
> > internal clock anyway?

> Is it okay to restore default sysclock setting is runtime_resume ops?

Yes, that's fine of course - I'm just assuming that this works already
so presumably there is some restore code somewhere already that should
be removed?
-------------- 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/20141107/7384581c/attachment.sig>


More information about the Alsa-devel mailing list