[U-Boot] [PATCH 1/1] spi: fsl_qspi: remove superfluous assignment

2018-03-18 Thread Heinrich Schuchardt
In void *rx_addr = NULL; rx_add = A; the first assignment has no effect. Remove it. Signed-off-by: Heinrich Schuchardt --- drivers/spi/fsl_qspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/fsl_qspi.c

[U-Boot] [PATCH 1/1] spi: atcspi200: avoid NULL dereference

2018-03-18 Thread Heinrich Schuchardt
For SPI_XFER_BEGIN | SPI_XFER_END the code sets data_out = NULL. In the debug statement we should not dereference this value. As we do not transfer any data the debug statement is not needed in this case anyway. Signed-off-by: Heinrich Schuchardt ---

[U-Boot] [RFC 1/1] driver: ram: rockchip: rk3399: missing counter increment

2018-03-18 Thread Heinrich Schuchardt
If we want to check the duration we need to increment the counter. Signed-off-by: Heinrich Schuchardt --- I do not have the hardware for testing. But the current coding is obviously flawed. --- drivers/ram/rockchip/sdram_rk3399.c | 1 + 1 file changed, 1 insertion(+) diff

[U-Boot] [PATCH 1/1] regulator: pbias: don't evaluate variable before assignment

2018-03-18 Thread Heinrich Schuchardt
We should not evaluate the value of reg before its value is set. Signed-off-by: Heinrich Schuchardt --- drivers/power/regulator/pbias_regulator.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/power/regulator/pbias_regulator.c

[U-Boot] [PATCH 1/1] drivers:power:max77693: remove redundant logical constraint

2018-03-18 Thread Heinrich Schuchardt
As ret is not set when calling max77693_get_vcell() there is no need to check ret again. Signed-off-by: Heinrich Schuchardt --- drivers/power/mfd/fg_max77693.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/power/mfd/fg_max77693.c

[U-Boot] [PATCH 1/1] net: macb: remove superfluous logical constraint

2018-03-18 Thread Heinrich Schuchardt
In if (a > =0) {...} else (a < 0) {...} the second logical constraint is superfluous. Signed-off-by: Heinrich Schuchardt --- drivers/net/macb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/macb.c b/drivers/net/macb.c index

[U-Boot] [PATCH 1/1] drivers: net: cpsw: remove superfluous assignment.

2018-03-18 Thread Heinrich Schuchardt
In int ret = A; ret = B; the first assignment has not effect. Signed-off-by: Heinrich Schuchardt --- drivers/net/cpsw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/cpsw.c b/drivers/net/cpsw.c index b72258f83b..e2395dbeb9

[U-Boot] [PATCH 1/1] i2c: lpi2c: remove superfluous assignments

2018-03-18 Thread Heinrich Schuchardt
In lpi2c_status_t result = A; result = B; the first assignment has no effect. Let's remove it. Signed-off-by: Heinrich Schuchardt --- drivers/i2c/imx_lpi2c.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[U-Boot] [PATCH 1/1] bios_emulator: remove assignment without effect

2018-03-18 Thread Heinrich Schuchardt
Assigning a parameter which is not used afterwards has not effect. Signed-off-by: Heinrich Schuchardt --- drivers/bios_emulator/atibios.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/bios_emulator/atibios.c b/drivers/bios_emulator/atibios.c index

Re: [U-Boot] [PATCH 1/3] phy: add support for bcm6348 usbh phy

2018-03-18 Thread Álvaro Fernández Rojas
Hi Daniel, El 17/03/2018 a las 20:30, Daniel Schwierzeck escribió: On 04.02.2018 11:18, Álvaro Fernández Rojas wrote: Signed-off-by: Álvaro Fernández Rojas --- drivers/phy/Kconfig| 6 +++ drivers/phy/Makefile | 1 +

Re: [U-Boot] tools/mxsimage: Support building with LibreSSL

2018-03-18 Thread Jonathan Gray
On Sun, Mar 18, 2018 at 01:55:29AM +0100, Hauke Mehrtens wrote: > On 03/18/2018 01:33 AM, Jonathan Gray wrote: > > On Sat, Mar 17, 2018 at 05:24:47PM +0100, Marek Vasut wrote: > >> On 03/17/2018 04:09 PM, Hauke Mehrtens wrote: > >>> On 03/17/2018 03:47 PM, Marek Vasut wrote: > On 03/17/2018

<    1   2