lzo: Update dst_len even on error
authorSimon Glass <sjg@chromium.org>
Tue, 2 Dec 2014 20:17:40 +0000 (13:17 -0700)
committerTom Rini <trini@ti.com>
Wed, 14 Jan 2015 16:35:44 +0000 (11:35 -0500)
commit670c0179ec1f48e0113ec082143a9acdd2f7d6aa
tree1765d0a1ed5421714774afce2fe45ae58717719c
parent9c55c54fb474ba5bc005e489639aa06c3c00d012
lzo: Update dst_len even on error

This allows the caller to easily detect how much of the destination buffer
has been used.

Signed-off-by: Simon Glass <sjg@chromium.org>
lib/lzo/lzo1x_decompress.c