Commit a3c39691 authored by Chen-Yu Tsai's avatar Chen-Yu Tsai Committed by Angela Czubak
Browse files

ANDROID: mt8195: fix backport legacy SOC_LVTS_TEMP as the out-of-tree driver



The upstream LVTS binding does not specify "clock-names" nor do the
device trees include it, because there is only one clock. This driver
however expects it, thereby not functioning with the upstream DTs,
such as for MT8186.

Fix it by dropping the name from the devm_clk_get() call. It will
continue to work for Cherry since there is only one clock listed
for the LVTS block.

Signed-off-by: default avatarChen-Yu Tsai <wenst@chromium.org>

Bug: 379841787
Test: Check that soc_max thermal zone shows up on Corsola
Fixes: 41b0c432 ("CHROMIUM: mt8195: backport legacy SOC_LVTS_TEMP as the out-of-tree driver")
Change-Id: Ide5ca91de50859b371eda29998232d224e523e39
Signed-off-by: default avatarAngela Czubak <aczubak@google.com>
parent dcb22c65
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment