10 Nov
                
                    2023
                
            
            
                10 Nov
                
                '23
                
            
            
            
        
    
                3:47 p.m.
            
        Hello,
the subject should be deduplicated.
On Fri, Nov 10, 2023 at 06:22:10PM +0530, Syed Saba Kareem wrote:
+static int __maybe_unused rn_pcm_resume(struct device *dev)
If you use DEFINE_SIMPLE_DEV_PM_OPS below, you can drop the __maybe_unused here.
+{ [...] +}
+static const struct dev_pm_ops rn_dma_pm_ops = {
- SET_SYSTEM_SLEEP_PM_OPS(NULL, rn_pcm_resume)
 +};
static struct platform_driver renoir_driver = { .probe = renoir_audio_probe, .remove_new = renoir_audio_remove, .driver = { .name = "acp_asoc_renoir",
 },.pm = &rn_dma_pm_ops,};
Best regards Uwe
-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |