diag: Fix HSIC read complete work function
Only call kfree if the item is valid and drain
the whole buffer before leaving the work function.
Change-Id: Ie9c253c394be1aa859789262e0f03a986a4ad207
Signed-off-by:
Gustavo Solaira <gustavos@codeaurora.org>
Loading
Please register or sign in to comment