From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.0 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A758DC43381 for ; Tue, 26 Mar 2019 06:43:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6B97B20811 for ; Tue, 26 Mar 2019 06:43:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1553582617; bh=ioC9M5Az5x6N3sc/gLRcRFX8RH4C2zyWVPYpiacsxKU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=szd5Qx7sfFfHAU+E7D3178Gwvfrp2zEZvFNSTuOoIf7RwFeAxiDyAI3v60l+DTgkb Du6H6+0eFppPyFb9tkTC9cOA/J8CPqIAVaDBXpMDT02PKQ7peoW/itMD2fyOUGARnd libn/Tl8FaGMV64mAZ/UatjLyLS/MAKVNman7WWg= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731632AbfCZGhV (ORCPT ); Tue, 26 Mar 2019 02:37:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:50634 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731445AbfCZGhU (ORCPT ); Tue, 26 Mar 2019 02:37:20 -0400 Received: from localhost (unknown [104.132.152.111]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 511462075E; Tue, 26 Mar 2019 06:37:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1553582239; bh=ioC9M5Az5x6N3sc/gLRcRFX8RH4C2zyWVPYpiacsxKU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MHtGohARb7uDpoluvAPgGB3RekD60WRwlGr0nB2rAIOTkRBCiGrLYY+mJ20QPcWYb H6YdblERZDt5SRfTtMODSwueuE7j0kyHvdnA9dmEVjaLtYrS0PDyud/jK3bX2sBFWe mU18cpuqLUVi68CHTq+9fzkUG9gMYUAX2xSEmAms= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Chris Wilson , Takashi Iwai , Pierre-Louis Bossart , =?UTF-8?q?Ville=20Syrj=C3=A4l=C3=A4?= Subject: [PATCH 4.19 23/45] ALSA: x86: Fix runtime PM for hdmi-lpe-audio Date: Tue, 26 Mar 2019 15:30:06 +0900 Message-Id: <20190326042703.904595084@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190326042702.565683325@linuxfoundation.org> References: <20190326042702.565683325@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org 4.19-stable review patch. If anyone has any objections, please let me know. ------------------ From: Ville Syrjälä commit 8dfb839cfe737a17def8e5f88ee13c295230364a upstream. Commit 46e831abe864 ("drm/i915/lpe: Mark LPE audio runtime pm as "no callbacks"") broke runtime PM with lpe audio. We can no longer runtime suspend the GPU since the sysfs power/control for the lpe-audio device no longer exists and the device is considered always active. We can fix this by not marking the device as active. Cc: Chris Wilson Cc: Takashi Iwai Cc: Pierre-Louis Bossart Fixes: 46e831abe864 ("drm/i915/lpe: Mark LPE audio runtime pm as "no callbacks"") Signed-off-by: Ville Syrjälä Link: https://patchwork.freedesktop.org/patch/msgid/20181024154825.18185-1-ville.syrjala@linux.intel.com Reviewed-by: Chris Wilson Acked-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/x86/intel_hdmi_audio.c | 1 - 1 file changed, 1 deletion(-) --- a/sound/x86/intel_hdmi_audio.c +++ b/sound/x86/intel_hdmi_audio.c @@ -1900,7 +1900,6 @@ static int hdmi_lpe_audio_probe(struct p pm_runtime_use_autosuspend(&pdev->dev); pm_runtime_mark_last_busy(&pdev->dev); - pm_runtime_set_active(&pdev->dev); dev_dbg(&pdev->dev, "%s: handle pending notification\n", __func__); for_each_port(card_ctx, port) {