From: Takashi Iwai Date: Tue, 15 Jan 2019 09:45:50 +0000 (+0100) Subject: drm: bridge: dw-hdmi: Remove superfluous snd_pcm_suspend*() calls X-Git-Tag: v5.1-rc1~22^2~98^2~2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=ede63a8d45555d42c0e9564874568bbe9df3f8d5;p=uclinux-h8%2Flinux.git drm: bridge: dw-hdmi: Remove superfluous snd_pcm_suspend*() calls 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 Signed-off-by: Takashi Iwai --- diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c b/drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c index cf3f0caf9c63..ed7af7518b52 100644 --- a/drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c +++ b/drivers/gpu/drm/bridge/synopsys/dw-hdmi-ahb-audio.c @@ -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; }