From: Michael Büsch Date: Sat, 5 Nov 2011 16:19:54 +0000 (+0100) Subject: cbus-tahvo: Add tahvo_write_reg locking X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=634a2c49c894021c689241717fb81a118e611259;p=pandora-kernel.git cbus-tahvo: Add tahvo_write_reg locking tahvo_write_reg() needs to take the mutex to avoid a race condition with tahvo_set_clear_reg_bits: tahvo_set_clear_reg_bits(): | tahvo_write_reg(): __tahvo_read_reg() | | __tahvo_write_reg() <-- race here __tahvo_write_reg() | Signed-off-by: Michael Buesch Acked-by: Felipe Balbi Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed