Thread (14 messages) 14 messages, 6 authors, 2025-06-18

Re: [PATCH v2 3/5] net: can: mcp251x: propagate the return value of mcp251x_spi_write()

From: Marc Kleine-Budde <mkl@pengutronix.de>
Date: 2025-06-16 09:58:03
Also in: linux-arm-kernel, linux-arm-msm, linux-can, linux-gpio, linux-mediatek, lkml

On 16.06.2025 09:24:06, Bartosz Golaszewski wrote:
From: Bartosz Golaszewski <redacted>

Add an integer return value to mcp251x_write_bits() and use it to
propagate the one returned by mcp251x_spi_write(). Return that value on
error in the request() GPIO callback.

Signed-off-by: Bartosz Golaszewski <redacted>
Reviewed-by: Marc Kleine-Budde <mkl@pengutronix.de>

Feel free to mainline the 2 CAN patches via the net-next tree directly.

regards,
Marc

-- 
Pengutronix e.K.                 | Marc Kleine-Budde          |
Embedded Linux                   | https://www.pengutronix.de |
Vertretung Nürnberg              | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-9   |

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help