]> git.baikalelectronics.ru Git - kernel.git/commit
spi: spi-fsl-dspi: use IRQF_SHARED mode to request IRQ
authorChuanhua Han <chuanhua.han@nxp.com>
Mon, 29 Oct 2018 03:11:16 +0000 (11:11 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 5 Nov 2018 11:53:28 +0000 (11:53 +0000)
commitccd64643fff4bfaeda276e4088ff904a58f468ce
tree11cf1a863bb2596239f3f0ea66d9c215b6b368eb
parent79c19d21d565d27e88fe88ecd8bc17e5e9ec015b
spi: spi-fsl-dspi: use IRQF_SHARED mode to request IRQ

Some SoC share one irq number between DSPI controllers.
For example, on the LX2160 board, DSPI0 and DSPI1 share one irq number.
In this case, only one DSPI controller can register successfully,
and others will fail.

Signed-off-by: Chuanhua Han <chuanhua.han@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-fsl-dspi.c