From: Lars-Peter Clausen Date: Tue, 15 Oct 2013 08:30:00 +0000 (+0100) Subject: iio:kfifo: Set update_needed to false after allocating a new buffer X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~62^2~196^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb6fbfa1387f47e5ef4ab2fac5ed71f3c1175f75;p=pandora-kernel.git iio:kfifo: Set update_needed to false after allocating a new buffer update_needed is used to decide whether the kfifo buffer needs to be re-allocated. It is set to true whenever the size of the buffer is changed. It is never set to false though, causing the buffer to always be re-allocated. Setting update_needed to false after the new buffer has been allocated fixes the problem. Signed-off-by: Lars-Peter Clausen Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed