soc/intel/{skl,cnl}: Guard USB macro parameters
commitd45b113fb589b2b9903e05c215a7be015209f1f1
authorAngel Pons <th3fanbus@gmail.com>
Thu, 23 Dec 2021 11:32:04 +0000 (23 12:32 +0100)
committerFelix Held <felix-coreboot@felixheld.de>
Sun, 26 Dec 2021 10:03:41 +0000 (26 10:03 +0000)
tree51eca0581dd566ada0eda4aa98f945b3cfca9aed
parentb84476bcea4f4ba443e6b3db413cf2cc14d50296
soc/intel/{skl,cnl}: Guard USB macro parameters

Add parentheses around the parameter of the `USB_PORT_WAKE_ENABLE`
macro to prevent unintentional operator precedence problems.

Change-Id: I61fbacc129cbfb42ade7e64ee40cd07c98d87683
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60324
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Felix Singer <felixsinger@posteo.net>
src/soc/intel/cannonlake/include/soc/usb.h
src/soc/intel/skylake/include/soc/usb.h