]> git.sur5r.net Git - u-boot/commit
usb: dwc2: use dev_read_bool() instead of fdt_getprop()
authorMeng Dongyang <daniel.meng@rock-chips.com>
Wed, 28 Jun 2017 11:22:43 +0000 (19:22 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tue, 11 Jul 2017 10:13:49 +0000 (12:13 +0200)
commitdd22bace7a3fcd7ed6f83350234ecfe09a64bb68
tree0ee73f2c05947110185a06c139758675b9c83a93
parent6424de93035dac3817d6f048d9befdc321b01063
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: Meng Dongyang <daniel.meng@rock-chips.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
drivers/usb/host/dwc2.c