Re: [PATCH] ASoC: cs42l43: Fix build error without CONFIG_PM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, 12 Mar 2025 16:07:51 +0100,
Takashi Iwai wrote:
> 
> On Wed, 12 Mar 2025 15:56:39 +0100,
> Takashi Iwai wrote:
> > 
> > Put __maybe_unused to work around the build error without CONFIG_PM
> > or CONFIG_PM_SLEEP for the newly defined system suspend callback.
> 
> I think a better alternative would be to wrap with pm_sleep_ptr().
> Will resubmit.

... and no, it won't work together with SET_SYSTEM_SLEEP_PM_OPS() :-<

So this patch should be the easiest fix, I suppose.


Takashi




[Index of Archives]     [Pulseaudio]     [Linux Audio Users]     [ALSA Devel]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux