OSDN Git Service

powercap/drivers/dtpm: Fix power limit initialization
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 18 Mar 2021 20:52:38 +0000 (21:52 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 21 Oct 2021 14:03:31 +0000 (16:03 +0200)
commit5d8cb8db9f791252ef5b7951b6d8cc6281de60a6
treeb277d5b7fa9ae1c28fde6708666ea7113ed9a930
parenteb82bace893169b319c563b7f813c58a0a5a9f76
powercap/drivers/dtpm: Fix power limit initialization

When a DTPM node is registered its power limit must be initialized to
the power max.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20210318205238.21937-1-daniel.lezcano@linaro.org
drivers/powercap/dtpm.c