CHROMIUM: ipu3-imgu: Complement buffer list protection

This patch completes the protection for the internal
buffer list in imgu driver. The list is modified in
multiple places including interrupt handler when
calling imgu_buffer_done(). We use imgu->lock to
protect this link list.

Signed-off-by: Tianshu Qiu <tian.shu.qiu@intel.com>

BUG=b:63850250
TEST=Test WF & UF camera functionality on Soraka

Change-Id: I49c6d74116f9cd32ba05c1501d3b100b507ddf66
Signed-off-by: Chiranjeevi Rapolu <chiranjeevi.rapolu@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/648257
Commit-Ready: Ricky Liang <jcliang@chromium.org>
Tested-by: Ricky Liang <jcliang@chromium.org>
Reviewed-by: Tomasz Figa <tfiga@chromium.org>
1 file changed