diff options
author | Prashant Malani <pmalani@chromium.org> | 2020-02-10 22:06:24 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2020-03-30 09:34:56 +0300 |
commit | f8db89d14efb770dd59aa0ca74386e5de68310d5 (patch) | |
tree | 471d3767b7204f18e460a1cfbab445f73467f108 /lib/timerqueue.c | |
parent | 873357b1a7f044888be0a1dc6a753376cd2140eb (diff) | |
download | linux-f8db89d14efb770dd59aa0ca74386e5de68310d5.tar.xz |
mfd: cros_ec: Check DT node for usbpd-notify add
Add a check to ensure there is indeed an EC device tree entry before
adding the cros-usbpd-notify device. This covers configs where both
CONFIG_ACPI and CONFIG_OF are defined, but the EC device is defined
using device tree and not in ACPI.
Fixes: 4602dce0361e ("mfd: cros_ec: Add cros-usbpd-notify subdevice")
Signed-off-by: Prashant Malani <pmalani@chromium.org>
Tested-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions