[PATCH] gpu: ipu-v3: fix refcount leak in ipu_add_client_devices()

2022-12-04 Thread Wang Yufen
The node returned by of_graph_get_port_by_id() with refcount incremented, of_node_put() needs be called when finish using it. So add it in the error path in ipu_add_client_devices(). Fixes: 17e052175039 ("gpu: ipu-v3: Do not bail out on missing optional port nodes") Signed-off-by:

[PATCH] i2c: qcom-geni: fix error return code in geni_i2c_gpi_xfer

2022-11-21 Thread Wang Yufen
Fix to return a negative error code from the gi2c->err instead of 0. Fixes: d8703554f4de ("i2c: qcom-geni: Add support for GPI DMA") Signed-off-by: Wang Yufen --- drivers/i2c/busses/i2c-qcom-geni.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-qcom-geni