summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci
diff options
context:
space:
mode:
authorHans Verkuil2014-03-04 11:28:11 +0100
committerMauro Carvalho Chehab2014-03-11 10:56:38 +0100
commit1a17948184a3320e0bb0aab561112211d2e9b7a8 (patch)
treea25e6526939a67a4bde8017a1b2db76981fd17be /drivers/media/pci
parent[media] vb2: change result code of buf_finish to void (diff)
downloadkernel-qcow2-linux-1a17948184a3320e0bb0aab561112211d2e9b7a8.tar.gz
kernel-qcow2-linux-1a17948184a3320e0bb0aab561112211d2e9b7a8.tar.xz
kernel-qcow2-linux-1a17948184a3320e0bb0aab561112211d2e9b7a8.zip
[media] pwc: do not decompress the image unless the state is DONE
There is no point in trying to decompress a captured frame unless the buffer state is OK. It won't be used in any other state, and in fact the contents of the buffer might well be corrupt. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/pci')
0 files changed, 0 insertions, 0 deletions