This is similar to previous patch which makes the API much more simple when handling long writes. Change-Id: Ibd3856863a43927195e23936872a160d5ff94648 Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>