summaryrefslogtreecommitdiffstats
path: root/crypto/cipher.c
diff options
context:
space:
mode:
authorIcenowy Zheng <uwu@icenowy.me>2024-10-18 15:31:36 +0800
committerDaniel Lezcano <daniel.lezcano@linaro.org>2024-11-04 15:38:29 +0100
commit725f31f300e300a9d94976bd8f1db6e746f95f63 (patch)
treee94d2a347ef09681af7f19fd33b4cc2ea3286496 /crypto/cipher.c
parentc5426dcc5a3a064bbd2de383e29035a14fe933e0 (diff)
downloadlinux-stable-725f31f300e300a9d94976bd8f1db6e746f95f63.tar.gz
linux-stable-725f31f300e300a9d94976bd8f1db6e746f95f63.tar.bz2
linux-stable-725f31f300e300a9d94976bd8f1db6e746f95f63.zip
thermal/of: support thermal zones w/o trips subnode
Although the current device tree binding of thermal zones require the trips subnode, the binding in kernel v5.15 does not require it, and many device trees shipped with the kernel, for example, allwinner/sun50i-a64.dtsi and mediatek/mt8183-kukui.dtsi in ARM64, still comply to the old binding and contain no trips subnode. Allow the code to successfully register thermal zones w/o trips subnode for DT binding compatibility now. Furtherly, the inconsistency between DTs and bindings should be resolved by either adding empty trips subnode or dropping the trips subnode requirement. Fixes: d0c75fa2c17f ("thermal/of: Initialize trip points separately") Signed-off-by: Icenowy Zheng <uwu@icenowy.me> [wenst@chromium.org: Reworked logic and kernel log messages] Signed-off-by: Chen-Yu Tsai <wenst@chromium.org> Reviewed-by: Rafael J. Wysocki <rafael@kernel.org> Link: https://lore.kernel.org/r/20241018073139.1268995-1-wenst@chromium.org Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'crypto/cipher.c')
0 files changed, 0 insertions, 0 deletions