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.15~6526^2~134^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ede63a8d45555d42c0e9564874568bbe9df3f8d5;p=platform%2Fkernel%2Flinux-starfive.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 cf3f0ca..ed7af75 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; }