platform/chrome: cros_usbpd_notify: Pull PD_HOST_EVENT status
authorPrashant Malani <pmalani@chromium.org>
Mon, 16 Mar 2020 08:28:34 +0000 (01:28 -0700)
committerBenson Leung <bleung@chromium.org>
Tue, 17 Mar 2020 21:22:18 +0000 (14:22 -0700)
commita88214089d67b0f246cf6ae4fb0a7e0735ff3595
treef1068d14317df2e9479211f2e6989fb87107e8e2
parent7e91e1ac60bb0f43e149fde7c5862d04ba27d7ad
platform/chrome: cros_usbpd_notify: Pull PD_HOST_EVENT status

Read the PD host even status from the EC and send that to the notifier
listeners, for more fine-grained event information.

Signed-off-by: Prashant Malani <pmalani@chromium.org>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Benson Leung <bleung@chromium.org>
drivers/platform/chrome/cros_usbpd_notify.c