summaryrefslogtreecommitdiff
path: root/ioexact.h
AgeCommit message (Expand)AuthorFilesLines
2013-06-17ioexact: make mayexit a boolDaniel Borkmann1-2/+4
2013-06-04xio: add ioexact operationsDaniel Borkmann1-0/+7
authorGao Pan <pandy.gao@nxp.com>2016-11-24 19:04:43 +0800 committerMark Brown <broonie@kernel.org>2016-11-25 13:04:42 +0000 commite3a49390ebefec6f7e3d447b5ba3ba253dd51145 (patch) tree20db3096f3560b816c88d47c220ea608dd48d4f2 parent3ffa1a5dc696f661754bf145813433fda92371b2 (diff)
spi: imx: fix potential shift truncation
There is a static checker warning in fsl_lpspi_set_cmd(). I intended to write "temp |= (fsl_lpspi->config.mode & 0x3) << 30", but used "temp |= (fsl_lpspi->config.mode & 0x11) << 30" by mistake. This patch fixes this potential shift truncation. Signed-off-by: Gao Pan <pandy.gao@nxp.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat
-rw-r--r--drivers/spi/spi-fsl-lpspi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-fsl-lpspi.c b/drivers/spi/spi-fsl-lpspi.c