diff options
author | Yuan Yao <yao.yuan@nxp.com> | 2016-10-17 18:02:34 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-10-29 12:51:29 -0600 |
commit | 5ee67b587a2b0092bdea3123349c8c3c43e8e46e (patch) | |
tree | ef87489bfc36118b99e15e5ac42ff06f83baed0d /mm/internal.h | |
parent | 1001354ca34179f3db924eb66672442a173147dc (diff) | |
download | linux-5ee67b587a2b0092bdea3123349c8c3c43e8e46e.tar.gz |
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>
Diffstat (limited to 'mm/internal.h')
0 files changed, 0 insertions, 0 deletions