]> git.baikalelectronics.ru Git - kernel.git/commit
spi: mxic: Ensure width is respected in spi-mem operations
authorMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 19 Sep 2019 20:25:02 +0000 (22:25 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 1 Oct 2019 11:33:58 +0000 (12:33 +0100)
commit781917158d60ea52b899792abc5616694eb5fc24
tree9efd25cf8b8b6a7c861a0a010d8181fe91335b45
parent0344c85ec67739a942d5279e86eadfd0d7d9766b
spi: mxic: Ensure width is respected in spi-mem operations

Make use of a core helper to ensure the desired width is respected
when calling spi-mem operators.

Suggested-by: Boris Brezillon <bbrezillon@kernel.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/r/20190919202504.9619-2-miquel.raynal@bootlin.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-mxic.c