linux-stable/drivers/base/regmap
Mark Brown f094fea68f regmap: Use bsearch() to search the register defaults
Rather than open coding a binary search use the standard bsearch() using
the comparison function we're already using for sort() on insert. This
fixes a lockup I was observing due to iterating on min <= max rather
than min < max when we fail to look up.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
2011-10-09 12:36:56 +01:00
..
Kconfig regmap: Add the LZO cache support 2011-09-19 19:06:33 +01:00
Makefile regmap: Add the LZO cache support 2011-09-19 19:06:33 +01:00
internal.h regmap: Make _regmap_write() global 2011-09-29 11:19:45 +01:00
regcache-indexed.c regmap: Lock the sync path, ensure we use the lockless _regmap_write() 2011-09-30 13:57:47 +01:00
regcache-lzo.c regmap: Lock the sync path, ensure we use the lockless _regmap_write() 2011-09-30 13:57:47 +01:00
regcache-rbtree.c regmap: Lock the sync path, ensure we use the lockless _regmap_write() 2011-09-30 13:57:47 +01:00
regcache.c regmap: Use bsearch() to search the register defaults 2011-10-09 12:36:56 +01:00
regmap-debugfs.c regmap: Include the last register in debugfs output 2011-09-05 10:58:31 -07:00
regmap-i2c.c regmap: Remove redundant owner field from the bus type struct 2011-09-05 10:57:04 -07:00
regmap-spi.c regmap: Remove redundant owner field from the bus type struct 2011-09-05 10:57:04 -07:00
regmap.c regmap: Make _regmap_write() global 2011-09-29 11:19:45 +01:00