drm: bridge: dw-hdmi: Remove superfluous snd_pcm_suspend*() calls
authorTakashi Iwai <tiwai@suse.de>
Tue, 15 Jan 2019 09:45:50 +0000 (10:45 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 15 Jan 2019 16:48:10 +0000 (17:48 +0100)
The call of snd_pcm_suspend_all() & co became superfluous since we
call it in the PCM PM ops.  Let's remove them.

Reviewed-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c

index cf3f0caf9c632fe47dd5f48999031100e12cf68c..ed7af7518b52be0d08c290bfdd5495fdbc782832 100644 (file)
@@ -614,7 +614,6 @@ static int snd_dw_hdmi_suspend(struct device *dev)
        struct snd_dw_hdmi *dw = dev_get_drvdata(dev);
 
        snd_power_change_state(dw->card, SNDRV_CTL_POWER_D3cold);
-       snd_pcm_suspend_all(dw->pcm);
 
        return 0;
 }