Searched hist:"2130 be57d5eb01bcd440495cdb5455cf40468f0c" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/spi/ |
H A D | spi-sun6i.c | diff 2130be57d5eb01bcd440495cdb5455cf40468f0c Mon Jul 06 16:34:37 CEST 2020 Marc Kleine-Budde <mkl@pengutronix.de> spi: spi-sun6i: sun6i_spi_transfer_one(): remove not needed masking of transfer length
In sun6i_spi_transfer_one() the driver ensures that the length of the transfer is smaller or equal to SUN6I_MAX_XFER_SIZE. This means the masking of the length to SUN6I_MAX_XFER_SIZE can be skipped when writing the transfer length into the registers.
This patch removes the useless masking of the transfer length to SUN6I_MAX_XFER_SIZE.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Acked-by: Maxime Ripard <mripard@kernel.org> Link: https://lore.kernel.org/r/20200706143443.9855-5-mkl@pengutronix.de Signed-off-by: Mark Brown <broonie@kernel.org>
|