18 Apr
2015
18 Apr
'15
2:19 p.m.
Hi
On Apr 18, 2015 8:11 PM, "Mark Brown" broonie@kernel.org wrote:
On Mon, Apr 13, 2015 at 10:47:30AM +0800, Jie Yang wrote:
Fix the compiling issue that we don't have snd_soc_suspend/resume() when CONFIG_PM_SLEEP is not defined.
+#ifdef CONFIG_PM_SLEEP snd_soc_resume(pdata->soc_card->dev);
+#endif
Rather than have the ifdefs in the users it seems like it'd be better to fix this by providing static inline stub functions in the headers. That way nothing else will run into the same trouble.
This was my "English" suggestion
Thanks
Michael
Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel