]> www.infradead.org Git - nvme.git/commit
spi: pxa2xx: Introduce __lpss_ssp_update_priv() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 16 Jan 2025 16:21:09 +0000 (18:21 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 16 Jan 2025 17:04:31 +0000 (17:04 +0000)
commit78b435c9044a9ec321da29d299c70cb14b059682
tree12fffe035228af8bc6e5f37801560cd80c53f764
parent9a8afbe5677234ac2490438d6b8ab74ee7fb359e
spi: pxa2xx: Introduce __lpss_ssp_update_priv() helper

In a few places we repeat RMW IO operations on LPSS private
registers. Let's introduce a helper to make the code better
to read and maintain.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20250116162109.263081-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pxa2xx.c