Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp1090534pxv; Thu, 22 Jul 2021 22:26:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz110B5nzROE2MZnRDLC+G9ZZwgWSa/uBVs5o/Y9cDJt43VFSWKBf7WoDICQJ37PySjgNMd X-Received: by 2002:aa7:cd49:: with SMTP id v9mr733299edw.185.1627017984370; Thu, 22 Jul 2021 22:26:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627017984; cv=none; d=google.com; s=arc-20160816; b=Juk2prz+v8JsYaIzioI58h2wTnz3/7VN62suan8SOm0xDCxJ0Ld4w8HDMczSI16KYQ rJdL27iIEqzMxxVbSeyR9fWNRXOTn5vTRoZ4gk5V+BsKRkN9jZP6iqdSDQS2e2U8Hvfz qd/lkIu+mbo56sEhu1PYluoJbfbekPw/hlNWy/66Y3s4L3qZXKJiKeR8I9a0lfiy5sfE nqnpzBv99YZ4OIqhc1bdrrd79m5wqXLAzNVhuc4hP+XmkkOYXLkRqyr/CRbAm75mhYtF mz4Kg6bLXWUrX9U1ZJRx+vzqSUJWs9sVj2QSLvYz6I1uXbGVkY6OHtw/dLIj6aMxdnSo HjsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:user-agent:from :references:in-reply-to:mime-version:dkim-signature; bh=QrIRJF9RofbYH9iU/wiHncDBO5Vg6i2VjMBiDfskl+c=; b=LOCKFD2BzOCR5hgcdglpX9E+1CXE7ppvH2sbykpGmbQ+cD9mngJVdDiw7GbPTdcam/ ejXoUGrWqQDBwPrJ+kX+Q5N6m5gtuOPkYiDVJwlKy7s3WQ9GhCkDd4EWBYifv9f4K+AD odGjcZnK/zxo5Tzf0h0Q2zofMdVApaqRzEJ6aFTpnE/R8iP5yd4XeSrM+ZUWaY69eiYQ GSTeZhdbg/W7e7707+t+aTfzIJSEhyL92FtsBAjWDGKvyp80Mw9Sb0UeSU117/hqIkbM FhX+KqKPXXj3yBmuJ463VVX+UdTr7/A0P/xeiUAyiH2CZBgz4jHXoi4EZhbOXGJKDolQ BqSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=AaOHiU8h; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ay3si26022205ejb.646.2021.07.22.22.25.59; Thu, 22 Jul 2021 22:26:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=AaOHiU8h; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229874AbhGWEnU (ORCPT + 99 others); Fri, 23 Jul 2021 00:43:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229827AbhGWEnT (ORCPT ); Fri, 23 Jul 2021 00:43:19 -0400 Received: from mail-oi1-x22b.google.com (mail-oi1-x22b.google.com [IPv6:2607:f8b0:4864:20::22b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D23BC061575 for ; Thu, 22 Jul 2021 22:23:53 -0700 (PDT) Received: by mail-oi1-x22b.google.com with SMTP id a19so684967oiw.6 for ; Thu, 22 Jul 2021 22:23:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:user-agent:date:message-id :subject:to:cc; bh=QrIRJF9RofbYH9iU/wiHncDBO5Vg6i2VjMBiDfskl+c=; b=AaOHiU8hxeiJRQI/nQxcRonIBltBTvgos+tyJ2OweZKsTeBIweQGGChjgbH680rgGX NdHCLzFKNWs6wchpfAQzRRpRDTAXLFF9flDPZsfHr84g1AoSYW+nmKqKiiX3B0DsH90z HxXhUeRpjDvkik0rb3OX/Cwgv3gGa4O99n1fY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from :user-agent:date:message-id:subject:to:cc; bh=QrIRJF9RofbYH9iU/wiHncDBO5Vg6i2VjMBiDfskl+c=; b=NPPGH+uGuoIJ0BFy+B8AbmwM3tcDu2fEGxmrCrAh63asbEMkomwZYG37rit1SGhpae 9WV621nLuvXo+fOHoHzFm2qX9K40yOXc6hpEsWeIgtcWjSgRBlIe7nmhtAbitUzEgYzO QRoY7WeGNtuDysrm6HfI9s4IP6QGvFguejXDU7aRiBk9NOEDSDVNWxiZ42ESsAt/zY2E piw18VrkUta01pDfR5Yj/KRMJbfXyU66o3dGB+0004knLyy82K10/PFml11w4z9udZKS HsO3ZsxuxayCh0lFPg/aI0jH+qhxHZvErHut1ki36gsnqb59NRHXW8WLnyS9S2olZfoo zYoA== X-Gm-Message-State: AOAM531LOR9fmH/MalOafTNVUQx3B+KgGDLQi7AM6FPmw1fVODOz23vH 7kIqURRJ6vBNF63C1iiKgYwQiMgNsqENIBHtP6gJDw== X-Received: by 2002:a05:6808:a83:: with SMTP id q3mr7787904oij.125.1627017832959; Thu, 22 Jul 2021 22:23:52 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 23 Jul 2021 05:23:52 +0000 MIME-Version: 1.0 In-Reply-To: <1626992117-28887-1-git-send-email-khsieh@codeaurora.org> References: <1626992117-28887-1-git-send-email-khsieh@codeaurora.org> From: Stephen Boyd User-Agent: alot/0.9.1 Date: Fri, 23 Jul 2021 05:23:52 +0000 Message-ID: Subject: Re: [PATCH] drm/msm/dp: signal audio plugged change at dp_pm_resume To: Kuogee Hsieh , agross@kernel.org, bjorn.andersson@linaro.org, robdclark@gmail.com, sean@poorly.run, vkoul@kernel.org Cc: abhinavk@codeaurora.org, aravindh@codeaurora.org, freedreno@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Kuogee Hsieh (2021-07-22 15:15:17) > There is a scenario that dp cable is unplugged from DUT during system > suspended will cause audio option state does not match real connection > state. Fix this problem by Signaling audio plugged change with realtime > connection status at dp_pm_resume() so that audio option will be in > correct state after system resumed. > > Fixes: bd52cfedb5a8 ("drm/msm/dp: power off DP phy at suspend") This should be Fixes: f591dbb5fb8c ("drm/msm/dp: power off DP phy at suspend") > Signed-off-by: Kuogee Hsieh > --- Reviewed-by: Stephen Boyd