Re: [PATCH 1/2] platform/chrome: cros_ec_proto: Use EC_HOST_EVENT_MASK not BIT

2021-01-20 Thread Enric Balletbo i Serra
On Wed, 9 Dec 2020 22:03:54 +, Evan Benn wrote: > The host_event_code enum is 1-based, use EC_HOST_EVENT_MASK not BIT to > generate the intended mask. This patch changes the behaviour of the > mask, a following patch will restore the intended behaviour: > 'Add LID and BATTERY to default mask'

Re: [PATCH 1/2] platform/chrome: cros_ec_proto: Use EC_HOST_EVENT_MASK not BIT

2020-12-09 Thread Brian Norris
On Wed, Dec 09, 2020 at 10:03:54PM +, Evan Benn wrote: > The host_event_code enum is 1-based, use EC_HOST_EVENT_MASK not BIT to > generate the intended mask. This patch changes the behaviour of the > mask, a following patch will restore the intended behaviour: > 'Add LID and BATTERY to default

[PATCH 1/2] platform/chrome: cros_ec_proto: Use EC_HOST_EVENT_MASK not BIT

2020-12-09 Thread Evan Benn
The host_event_code enum is 1-based, use EC_HOST_EVENT_MASK not BIT to generate the intended mask. This patch changes the behaviour of the mask, a following patch will restore the intended behaviour: 'Add LID and BATTERY to default mask' Fixes: c214e564acb2ad9463293ab9c109bfdae91fbeaf Signed-off-b