From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philipp Tomsich Date: Mon, 03 Jul 2017 18:35:54 +0200 Subject: [U-Boot] [U-Boot, v8, 5/8] usb: dwc2: use dev_read_bool() instead of fdt_getprop() In-Reply-To: <1498648966-19612-6-git-send-email-daniel.meng@rock-chips.com> References: <1498648966-19612-6-git-send-email-daniel.meng@rock-chips.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de > 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 > Reviewed-by: Philipp Tomsich > Acked-by: Philipp Tomsich > --- > > Changes in v8: None > 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(-) > Applied to u-boot-rockchip/next, thanks!