]> git.baikalelectronics.ru Git - kernel.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)
commit9d49a2c6bf59ba3a5fcc7d3d8ee1396de9c3c581
tree243069eaa9a88a5554c589832e364b0ab907ca26
parent8deb926a3719b556e85483dc95a9b8d682382971
media: cx23885: only reset DMA on problematic CPUs

It is reported that commit f8e1d2845265 ("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: f8e1d2845265 ("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