From patchwork Fri Nov 8 06:46:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hsin-Te Yuan X-Patchwork-Id: 13867625 X-Patchwork-Delegate: daniel.lezcano@linaro.org Received: from mail-oa1-f49.google.com (mail-oa1-f49.google.com [209.85.160.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4E96B1C3F06 for ; Fri, 8 Nov 2024 06:46:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731048420; cv=none; b=Kp/t627jdMENrkttLmNZlLMz1YGnZ/Wwuj6IwD5qsqExMEISL1MRhuZ8VQhWb3EG70tgruzs/VcMiJmqFFzi/L/nCKflnQh0hh3HQLpWzK8Z2G+TsCmeHyhrHe4tmTSmJ+sBj74C9DE9IUD0wU2OpdQlNS81qz0At53+c/0SL9U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731048420; c=relaxed/simple; bh=dSgsEjsmNO/exUK9WWjC1NUxgYpA74/464brJVj2on8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=elDXq58hmimcjmNdW7FGFcSmOpG0fkwXvFWgRimiYala6s1aDITbXZDA+5bgK7MU+9aJ5R2THWfkSyylvrYU8jgXoR//9x7FOyvBxxWyXZIOwqZMWjPiGI7kIDai2mbmiZ2QqrijO4QEQF5L595U/rtXEPHwdL9YDSkApAtopX4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=farAJhMU; arc=none smtp.client-ip=209.85.160.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="farAJhMU" Received: by mail-oa1-f49.google.com with SMTP id 586e51a60fabf-2884e6ed0daso835319fac.0 for ; Thu, 07 Nov 2024 22:46:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1731048418; x=1731653218; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=cn/Nc5RaHVF/e/nAEApB7fYMyWr4MBPCDZJyTNa0js8=; b=farAJhMUylHVY1fvJ897FjhO1hfQqBiDUzkDKFd81jw6vqY1hBSlxOY9+PQwNtzQbJ yqmbBMdtSfo642NYeH2wkxTfU0N13ucPc1Auw5ZxYUFuy24yVQ3A41EnQOINZoRMbc60 r19dPSDekVSfVb6yOvdC99GBnlS7eWoRP13U4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731048418; x=1731653218; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=cn/Nc5RaHVF/e/nAEApB7fYMyWr4MBPCDZJyTNa0js8=; b=AHfz/guzeJQ/rYIG/ipbNAUFKTPlX55cF+deLfmdfIvLZUsTzZPFW3mheqseoLdff0 y7QScFj6Je07Btl9cdTgxvLO1PnvrmfRlRwS8plFBSWXlXwJJwZl5Z4/RYQyALd2tE7i r6oBEKAIZGERbcUZaYnZ0eJqYKu+Og+MPD/ByRtzh41iIEGuUqclfOZo0YtDUPypTrAq zX/y+EMUAH2RuCGhUL8hWSK/bNG0xXhCsLQYSVW5ZrAqIPvYNcO7Y3KSZKsvcPmiMPoz x/NuK0fQjLsYFa/m1fvYlTZfxW4/Ie396avdOueaPf59qvK50YJ6zwIjlEsQmTIa3uqI Luzg== X-Gm-Message-State: AOJu0YyVJVgbvdEcPG/AqzKPw/swJ3Z4g3qLBR/K1KJmGlS1M28kPOl2 5mTv+4P8kmeAc9elHXF/X94LKBvQnDVQZtRv9P34NoFGkdpm1TJelkVRfk5Ba0LCsR3HTco0VS0 = X-Google-Smtp-Source: AGHT+IGIj8ppTDiKoQ1Ac0ZjCZ1batJcTJQ8Mib+/ozEVFfkH5rl/YxpGzi3ZzRXz5pAIQ9//uSnvQ== X-Received: by 2002:a05:6870:344c:b0:261:211:9d0d with SMTP id 586e51a60fabf-295603b7595mr1814461fac.40.1731048417707; Thu, 07 Nov 2024 22:46:57 -0800 (PST) Received: from yuanhsinte.c.googlers.com (176.220.194.35.bc.googleusercontent.com. [35.194.220.176]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-724079aa8fasm2863065b3a.97.2024.11.07.22.46.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Nov 2024 22:46:57 -0800 (PST) From: Hsin-Te Yuan Date: Fri, 08 Nov 2024 06:46:53 +0000 Subject: [PATCH] thermal/drivers/mediatek/lvts_thermal: Switch to IMMEDIATE_MODE Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241108-lvts-v1-1-eee339c6ca20@chromium.org> X-B4-Tracking: v=1; b=H4sIANyzLWcC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxNDQwML3ZyykmLdNPOk1CRjs9S0ZFNLJaDSgqLUtMwKsDHRsbW1AICiAJZ WAAAA X-Change-ID: 20241108-lvts-f7beb36efc59 To: "Rafael J. Wysocki" , Daniel Lezcano , Zhang Rui , Lukasz Luba , Matthias Brugger , AngeloGioacchino Del Regno Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Hsin-Te Yuan X-Mailer: b4 0.15-dev-7be4f Currently, MT8192 cannot suspend with FILTERED_MODE. Switch to IMMEDIATE_MODE will fix this. Signed-off-by: Hsin-Te Yuan --- drivers/thermal/mediatek/lvts_thermal.c | 3 --- 1 file changed, 3 deletions(-) --- base-commit: 906bd684e4b1e517dd424a354744c5b0aebef8af change-id: 20241108-lvts-f7beb36efc59 Best regards, diff --git a/drivers/thermal/mediatek/lvts_thermal.c b/drivers/thermal/mediatek/lvts_thermal.c index 1997e91bb3be94a3059db619238aa5787edc7675..daad52f14fc03d0c4131f2ffdf3eb6b49a4a43d0 100644 --- a/drivers/thermal/mediatek/lvts_thermal.c +++ b/drivers/thermal/mediatek/lvts_thermal.c @@ -1541,7 +1541,6 @@ static const struct lvts_ctrl_data mt8192_lvts_mcu_data_ctrl[] = { }, VALID_SENSOR_MAP(1, 1, 0, 0), .offset = 0x0, - .mode = LVTS_MSR_FILTERED_MODE, }, { .lvts_sensor = { @@ -1552,7 +1551,6 @@ static const struct lvts_ctrl_data mt8192_lvts_mcu_data_ctrl[] = { }, VALID_SENSOR_MAP(1, 1, 0, 0), .offset = 0x100, - .mode = LVTS_MSR_FILTERED_MODE, }, { .lvts_sensor = { @@ -1567,7 +1565,6 @@ static const struct lvts_ctrl_data mt8192_lvts_mcu_data_ctrl[] = { }, VALID_SENSOR_MAP(1, 1, 1, 1), .offset = 0x200, - .mode = LVTS_MSR_FILTERED_MODE, } };