]> git.baikalelectronics.ru Git - kernel.git/commit
spi: zynq-qspi: Enhance the Linear CFG bit definitions
authorMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 8 Nov 2019 14:07:41 +0000 (15:07 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 8 Nov 2019 17:44:10 +0000 (17:44 +0000)
commit0e360a03021e85877397b2efa1d52347c5d19215
tree4ee13e274528adfadd352ffd132bd20e9c131370
parentd255ff678e636634bbcccad3b91cb70ecb6c3f9b
spi: zynq-qspi: Enhance the Linear CFG bit definitions

Using masks makes sense when manipulating fields of several bits. When
only one bit is involved, it is usual to just use the BIT() macro but
in this case using the term mask is abusive. Fix the #define macros
and their comments.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/r/20191108140744.1734-5-miquel.raynal@bootlin.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-zynq-qspi.c