From: Dan Carpenter Date: Sat, 10 Mar 2012 08:57:29 +0000 (+0300) Subject: spi: release lock on error path in spi_pump_messages() X-Git-Tag: v3.4-rc1~170^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9af4acc096eeb1ddd6f507d291c7c901949224a6;p=pandora-kernel.git spi: release lock on error path in spi_pump_messages() We should release the lock here and enable IRQs before returning. Signed-off-by: Dan Carpenter [grant.likely: move unlock above dev_err() call] Signed-off-by: Grant Likely --- Reading git-diff-tree failed