diff options
| author | Marc Kleine-Budde <mkl@pengutronix.de> | 2026-03-19 17:55:38 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-04-07 11:54:26 +0100 |
| commit | b191fbf446bcabe310d3d9ac759e4a071b74186d (patch) | |
| tree | 72297f1f5ea456d66bc4ea7221069abc33f7eb16 /tools/perf/scripts/python/bin | |
| parent | 732b903ea3e2e95e11990a698df8e18537aeef19 (diff) | |
spi: spi-fsl-lpspi: fsl_lpspi_set_cmd(): use mode from struct fsl_lpspi_data::config::mode
Commit 7ae4d097b752 ("spi: spi-fsl-lpspi: Handle clock polarity and phase")
enhances the driver with clock polarity and phase handling. That commit
adds a 2nd argument ("struct spi_device *spi") to the fsl_lpspi_set_cmd()
function.
The "spi" pointer is used to access the "mode" of the current transfer.
However the mode is already available via "fsl_lpspi->config.mode".
To simplify the driver remove the 2nd argument and use
"fsl_lpspi->config.mode" to access the mode.
Cc: Marek Vasut <marex@nabladev.com>
Reviewed-by: Marek Vasut <marex@nabladev.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Link: https://patch.msgid.link/20260319-spi-fsl-lpspi-cleanups-v2-4-02b56c5d44a8@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
