]> git.baikalelectronics.ru Git - uboot.git/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)
commitd7a180a9991e43c314ababc8f1f62ac506af80d2
tree0ee73f2c05947110185a06c139758675b9c83a93
parentf6b48e5b6b3011a843189a187edd0ba9428ccbce
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