]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
[media] saa7164: fix double fetch PCIe access condition
authorSteven Toth <stoth@kernellabs.com>
Tue, 6 Jun 2017 12:30:27 +0000 (09:30 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 6 Jun 2017 19:55:50 +0000 (16:55 -0300)
commit6fb05e0dd32e566facb96ea61a48c7488daa5ac3
treedd09af034c57da2ab1ce9b6ee0754d37979e8548
parent9e9e6a78143bbb6cb9cffd29ab48d5f32def4e20
[media] saa7164: fix double fetch PCIe access condition

Avoid a double fetch by reusing the values from the prior transfer.

Originally reported via https://bugzilla.kernel.org/show_bug.cgi?id=195559

Thanks to Pengfei Wang <wpengfeinudt@gmail.com> for reporting.

Signed-off-by: Steven Toth <stoth@kernellabs.com>
Reported-by: Pengfei Wang <wpengfeinudt@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/pci/saa7164/saa7164-bus.c