On 01/06/2016 08:56, zr at semihalf.com wrote: > From: Zyta Szpak <zr at semihalf.com> > > Version 2 of fixing the fixed register width assumption. > Not every device uses 32-bit wide register. The app was allocating too > little space for 64-bit registers which resulted in memory corruption. > This commit resolves this by getting the size of register in bytes for > a specific device. If the device does not implement this function, it > fallsback to sizeof(uint32_t) > > Signed-off-by: Zyta Szpak <zr at semihalf.com>
Acked-by: Remy Horton <remy.horton at intel.com>