commit | 5ee67b587a2b0092bdea3123349c8c3c43e8e46e | [log] [tgz] |
---|---|---|
author | Yuan Yao <yao.yuan@nxp.com> | Mon Oct 17 18:02:34 2016 +0800 |
committer | Mark Brown <broonie@kernel.org> | Sat Oct 29 12:51:29 2016 -0600 |
tree | ef87489bfc36118b99e15e5ac42ff06f83baed0d | |
parent | 1001354ca34179f3db924eb66672442a173147dc [diff] |
spi: dspi: clear SPI_SR before enable interrupt Once dspi is used in uboot, the SPI_SR have been set by some value. At this time, if kernel enable the interrupt before clear the status flag, that will trigger the wrong interrupt. Signed-off-by: Yuan Yao <yao.yuan@nxp.com> Signed-off-by: Mark Brown <broonie@kernel.org>