Re: [PATCH] usb: i.MX: warn if vbus regulator isn't available

2020-10-27 Thread Ahmad Fatoum
Hello Uwe, On 10/27/20 6:40 PM, Uwe Kleine-König wrote: > Instead of just ignoring errors related to regulator yield at least a > warning message. > > In case there is no regulator in the device tree, regulator_get() returns > the dummy regulator and not an error code. The alternative to error ou

[PATCH] usb: i.MX: warn if vbus regulator isn't available

2020-10-27 Thread Uwe Kleine-König
Instead of just ignoring errors related to regulator yield at least a warning message. In case there is no regulator in the device tree, regulator_get() returns the dummy regulator and not an error code. The alternative to error out wasn't accepted because this probably creates regressions for reg

Re: [PATCH] usb: Fix initial max packet size

2020-10-27 Thread Gavin Schenk
Hi, thanks a lot, that's great. On Tue, Oct 27, 2020 at 10:42:42AM +0100, Sascha Hauer wrote: > In case the USB device is a full speed device we have to set > dev->epmaxpacketin[0] and dev->epmaxpacketout[0] before doing a > get_descriptor_len() because otherwise it's unset during that call. > >

[PATCH] ARM: CCMX51: Add new module ID variant

2020-10-27 Thread Alexander Shiyan
This adds support for Digi ConnectCore module variant 0x15 Signed-off-by: Alexander Shiyan --- arch/arm/boards/ccxmx51/ccxmx51.c | 17 - 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/arch/arm/boards/ccxmx51/ccxmx51.c b/arch/arm/boards/ccxmx51/ccxmx51.c index 13f

[PATCH] ARM: bootm: Add lower bound check of kernel in SDRAM

2020-10-27 Thread Alexander Shiyan
In get_kernel_addresses(), we add the lower bound check of kernel position. Kernel address cannot be lower than SDRAM start. Signed-off-by: Alexander Shiyan --- arch/arm/lib32/bootm.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/lib32/bootm.c b/arch/arm/lib32

[PATCH] usb: Fix initial max packet size

2020-10-27 Thread Sascha Hauer
In case the USB device is a full speed device we have to set dev->epmaxpacketin[0] and dev->epmaxpacketout[0] before doing a get_descriptor_len() because otherwise it's unset during that call. Fixes: 6d1d95a386 ("usb: factor out a usb_setup_descriptor() function") Signed-off-by: Sascha Hauer ---