[alsa-devel] [PATCH 1/2] ASoC: img-i2s-in: Add suspend / resume handling

Mark Brown broonie at kernel.org
Wed Oct 4 12:37:22 CEST 2017


On Mon, Oct 02, 2017 at 10:58:52AM +0100, Ed Blake wrote:

>  	i2s->dai_driver.probe = img_i2s_in_dai_probe;
> +	i2s->dai_driver.suspend = img_i2s_in_dai_suspend;
> +	i2s->dai_driver.resume = img_i2s_in_dai_resume;

Why use the ASoC specific power management callbacks and not the system
ones?  It does also look a bit like there's a case for converting the
driver to regmap and using the regmap cache code.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20171004/aaa6d2b4/attachment.sig>


More information about the Alsa-devel mailing list