android_kernel_google_msm/drivers/spmi
Gilad Avidov 09c46a44df spmi: pmic-arb: Fix multibyte transfer bug and enforce buffer len
Bug fix for reading and writing multiple bytes. The bug causes holes
in the first 4 bytes when the byte count = 4, 5, or 6. Additionally,
on attempt to write more then the PMIC-arbiter supports, an error
message is logged and error value is returned. The SPMI framework
allows up to 16 byte per transfer, as supported by SPMI spec. However,
the PMIC arbiter supports up to 8 bytes per transfer.

Change-Id: I5c192fc22af51b1c61ed8ce31b75261cb8ad49ce
Signed-off-by: Gilad Avidov <gavidov@codeaurora.org>
2013-02-27 18:19:21 -08:00
..
Kconfig msm: 8974: rename copper to 8974 2013-02-27 18:14:01 -08:00
Makefile spmi: Rename qpnp library to be part of the spmi framework 2013-02-27 18:13:11 -08:00
qpnp-int.c spmi: qpnp-int: Fix bug in setting interrupt type 2013-02-27 18:13:09 -08:00
spmi-pmic-arb.c spmi: pmic-arb: Fix multibyte transfer bug and enforce buffer len 2013-02-27 18:19:21 -08:00
spmi-resources.c spmi: Add spmi_resource for non spmi-dev-container cases 2013-02-27 18:13:13 -08:00
spmi.c spmi: Add spmi_resource for non spmi-dev-container cases 2013-02-27 18:13:13 -08:00