summary refs log tree commit diff
path: root/drivers/char/nvram.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2015-11-17 16:13:55 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-08 14:57:30 -0800
commit987a9f128b8ad8e7019229300e8d91d37ca55933 (patch)
treeba52ec95ff6695615342359fcfa50c26085257e6 /drivers/char/nvram.c
parent7b46a105dbb7b67ea1f2f63a0b3ec29ab64e1bd3 (diff)
downloadlinux-987a9f128b8ad8e7019229300e8d91d37ca55933.tar.gz
spmi: pmic-arb: Support more than 128 peripherals
Add support for more than 128 peripherals by taking a lazy
caching approach to the mapping tables. Instead of reading and
caching the tables at boot given some fixed size, read them and
cache them on an as needed basis. We still assume a max size of
512 peripherals, trading off some space for simplicity.

Based on a patch by Gilad Avidov <gavidov@codeaurora.org> and
Sagar Dharia <sdharia@codeaurora.org>.

Cc: Gilad Avidov <gavidov@codeaurora.org>
Cc: Sagar Dharia <sdharia@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/char/nvram.c')
0 files changed, 0 insertions, 0 deletions