From: Stephen Warren Date: Wed, 4 Apr 2012 21:48:28 +0000 (-0600) Subject: regmap: introduce fast_io busses, and use a spinlock for them X-Git-Tag: v3.5-rc1~118^2~3^2~120 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a42678c4c8b5f6d489829ffc3071fa1f08ee99d1;p=pandora-kernel.git regmap: introduce fast_io busses, and use a spinlock for them Some bus types have very fast IO. For these, acquiring a mutex for every IO operation is a significant overhead. Allow busses to indicate their IO is fast, and enhance regmap to use a spinlock for those busses. [Currently limited to native endian registers -- broonie] Signed-off-by: Stephen Warren Signed-off-by: Mark Brown --- Reading git-diff-tree failed