Re: [U-Boot] [U-Boot, v7, 5/8] 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> Acked-by: Philipp Tomsich > --- > > Changes in v7: > - Romove unused variable ‘prop’ in dwc2 driver > > Changes in v6: > - New patch > - Use dev_read_bool() instead of fdt_getprop() > - Add a comment for "hnp-srp-disable" feature > > drivers/usb/host/dwc2.c | 16 ++-- > 1 file changed, 6 insertions(+), 10 deletions(-) > Reviewed-by: Philipp Tomsich ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
Re: [U-Boot] [U-Boot, v7, 5/8] 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> --- > > Changes in v7: > - Romove unused variable ‘prop’ in dwc2 driver > > Changes in v6: > - New patch > - Use dev_read_bool() instead of fdt_getprop() > - Add a comment for "hnp-srp-disable" feature > > drivers/usb/host/dwc2.c | 16 ++-- > 1 file changed, 6 insertions(+), 10 deletions(-) > Acked-by: Philipp Tomsich ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot