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:Chen-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:
Angela Czubak <aczubak@google.com>
Loading
Please sign in to comment