From: Mark Brown Date: Thu, 2 Jun 2011 18:18:47 +0000 (+0100) Subject: mfd: Fix bus lock interaction for WM831x IRQ set_type() operation X-Git-Tag: v3.1-rc1~100^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca7a71824ac957b1b9d3322656c05aad38d7275c;p=pandora-kernel.git mfd: Fix bus lock interaction for WM831x IRQ set_type() operation The WM831x IRQ set_type() operation is doing a direct register write when called but since set_type() is called with the bus lock held this isn't legal and could cause deadlocks in the IRQ core. Fix this by posting the updates into an array and syncing in the bus_sync_unlock() callback. Signed-off-by: Mark Brown Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed