Skip to content
Commit dd22bace authored by Meng Dongyang's avatar Meng Dongyang Committed by Philipp Tomsich
Browse files

usb: dwc2: use dev_read_bool() instead of fdt_getprop()



Use dev_read_bool() instead of fdt_getprop() to get the property
from DTS. And add a comment for "hnp-srp-disable" property to
fully describe its effect.

Signed-off-by: default avatarMeng Dongyang <daniel.meng@rock-chips.com>
Reviewed-by: default avatarPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Acked-by: default avatarPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
parent 6424de93
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment