spi: pxa2xx: Fix regression when toggling chip select on LPSS devices
Subsystems (3)
Andy Shevchenko
reviewerPATCH 1/1 spi: pxa2xx: Fix regression when toggling chip select on LPSS devices
From: Mark Lord <[email protected]>
The commit 78b435c9044a ("spi: pxa2xx: Introduce __lpss_ssp_update_priv() helper") broke speaker output on my ASUS UX5304MA laptop. The problem is in inverted value that got written in the private register.
Simple bug, simple fix.
--- drivers/spi/spi-pxa2xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/spi/spi-pxa2xx.c +1 -1
@@ -399,7 +399,7 @@ static void lpss_ssp_cs_control(struct spi_device *spi, bool enable)lpss_ssp_select_cs (spi, config); mask =LPSS_CS_CONTROL_CS_HIGH ; -__lpss_ssp_update_priv (drv_data, config->reg_cs_ctrl, mask, enable ? mask :0 ); +__lpss_ssp_update_priv (drv_data, config->reg_cs_ctrl, mask, enable ?0 : mask);if (config->cs_clk_stays_gated) {/* * Changing CS alone when dynamic clock gating is on won't
Signature · 1 line
2.43.0.rc1.1336.g36b5255a03ac
Mark Brown
maintainerQuoted 8 lines · Andy Shevchenko
The commit
78b435c9044a("spi: pxa2xx: Introduce__lpss_ssp_update_priv()helper") broke speaker output on my ASUS UX5304MA laptop. The problem is in inverted value that got written in the private register.Simple bug, simple fix.
[...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next
Thanks!
[1/1] spi: pxa2xx: Fix regression when toggling chip select on LPSS devices
commit: aff2355d260e47e780cd96af127beaab18a664b1
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark