18 Apr
2015
18 Apr
'15
2:11 p.m.
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.