]> git.baikalelectronics.ru Git - kernel.git/commit
spi: spi-rspi: fix inconsistent spin_lock_irqsave
authorShimoda, Yoshihiro <yoshihiro.shimoda.uh@renesas.com>
Tue, 27 Aug 2013 02:15:09 +0000 (11:15 +0900)
committerMark Brown <broonie@linaro.org>
Tue, 27 Aug 2013 14:55:41 +0000 (15:55 +0100)
commit3506219cc21073af6fc743d72944a7578df9e13c
tree4213a4a7e5d68ca08b92e9523efbb2bc1b20d8ac
parent930730445cdbb4bfa536bab720750e8cd0a174c7
spi: spi-rspi: fix inconsistent spin_lock_irqsave

This patch fixes the following Smatch warning:

  CHECK   drivers/spi/spi-rspi.c
drivers/spi/spi-rspi.c:606 rspi_work() warn: inconsistent returns spin_lock:&rspi->lock: locked (602) unlocked (606)
drivers/spi/spi-rspi.c:606 rspi_work() warn: inconsistent returns irqsave:flags: locked (602) unlocked (606)

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-rspi.c