zephyr: power_policy: Function content has changed
zephyr: power_policy: Function content has changed

Upstream change updated the function.
From:
bool pm_constraint_get(enum pm_state state)
{
	return (atomic_get(&power_state_disable_count[state]) == 0);
}
To:
bool pm_policy_state_lock_is_active(enum pm_state state)
{
	return (atomic_get(&state_lock_cnt[state]) != 0);
}

So the function behavior here should be corrected.

BRANCH=none
BUG=none
TEST=zmake build it8xxx2_evb --clobber
It is normal to enter idle mode.

Signed-off-by: Tim Lin <38846f7070d5770410e9ef8b439c72e7b53a72c5@ite.corp-partner.google.com>
Change-Id: I570dad287b2eaa76c3ff522bd03e2b7b8c01e077
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3551740
Reviewed-by: Denis Brockus <6b21e8190fb5e373363fb95271367073a16474ef@chromium.org>
Reviewed-by: Keith Short <f6d578f97033c25f1206cb57d52f358974c82954@chromium.org>
Commit-Queue: Keith Short <f6d578f97033c25f1206cb57d52f358974c82954@chromium.org>

coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec