]> asedeno.scripts.mit.edu Git - linux.git/commit
media: cx23885: only reset DMA on problematic CPUs
authorBrad Love <brad@nextdimension.cc>
Wed, 19 Dec 2018 17:07:01 +0000 (12:07 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 20 Dec 2018 11:52:01 +0000 (06:52 -0500)
commit4bd46aa0353e022c2401a258e93b107880a66533
tree243069eaa9a88a5554c589832e364b0ab907ca26
parentbbb55cd708901dedbeeeb929c7012f35afea7882
media: cx23885: only reset DMA on problematic CPUs

It is reported that commit 95f408bbc4e4 ("media: cx23885: Ryzen DMA
related RiSC engine stall fixes") caused regresssions with other CPUs.

Ensure that the quirk will be applied only for the CPUs that
are known to cause problems.

A module option is added for explicit control of the behaviour.

Fixes: 95f408bbc4e4 ("media: cx23885: Ryzen DMA related RiSC engine stall fixes")
Signed-off-by: Brad Love <brad@nextdimension.cc>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/pci/cx23885/cx23885-core.c
drivers/media/pci/cx23885/cx23885.h