Home
last modified time | relevance | path

Searched hist:aafa64827f30a7d2aa2c2cc2a60906eabd0272b8 (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/spmi/
H A Dspmi-sandbox.caafa64827f30a7d2aa2c2cc2a60906eabd0272b8 Mon Apr 04 17:55:58 UTC 2016 Mateusz Kulikowski <mateusz.kulikowski@gmail.com> spmi: Fix sandbox spmi driver memory corruption

There is off-by-one error in sandbox_emul_gpio that causes
segfault of certain tests.

EMUL_GPIO_REG_END is the address of last valid (emulated) register.
This patch fixed this (by adding one more element to emulated register array).

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Tested-by: Stephen Warren <swarren@nvidia.com>