u-boot/drivers/spmi
Mateusz Kulikowski aafa64827f 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>
2016-04-11 20:48:22 -04:00
..
Kconfig drivers: spmi: Add support for Qualcomm SPMI bus driver 2016-04-01 17:18:12 -04:00
Makefile drivers: spmi: Add support for Qualcomm SPMI bus driver 2016-04-01 17:18:12 -04:00
spmi-msm.c drivers: spmi: Add support for Qualcomm SPMI bus driver 2016-04-01 17:18:12 -04:00
spmi-sandbox.c spmi: Fix sandbox spmi driver memory corruption 2016-04-11 20:48:22 -04:00
spmi-uclass.c drivers: Add SPMI bus uclass 2016-04-01 17:18:12 -04:00