spi: pxa2xx: Use predefined mask when programming FIFO thresholds
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 17 May 2021 14:03:51 +0000 (17:03 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 18 May 2021 13:05:37 +0000 (14:05 +0100)
commit70252440b2b6337d03f2b95bc475fedbea79072f
tree7c51624d45acbe21107de1641efdc7685416e973
parentf96e6c0ef63b981d295547ef624f4da7c820e097
spi: pxa2xx: Use predefined mask when programming FIFO thresholds

The predefined mask for threshold modification can be used
in case of Intel Merrifield SPI. Replace open-coded value
with predefined mask when programming FIFO thresholds.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210517140351.901-10-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pxa2xx.c