From: Ira Snyder Date: Thu, 26 Jan 2012 10:59:54 +0000 (+0000) Subject: carma-fpga: fix lockdep warning X-Git-Tag: v3.4-rc1~159^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75ff85a81680e5779383aa6210a4f89ed76e40ec;p=pandora-kernel.git carma-fpga: fix lockdep warning Lockdep occasionally complains with the message: INFO: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected This is caused by calling videobuf_dma_unmap() under spin_lock_irq(). To fix the warning, we drop the lock before unmapping and freeing the buffer. Signed-off-by: Ira W. Snyder Cc: Benjamin Herrenschmidt Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed