]> 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)
commit457c32357e0f598c9104e134bf5b9ea9be5945ff
tree243069eaa9a88a5554c589832e364b0ab907ca26
parent7938676a521f52d6ab4566c1304385d5f224ff27
media: cx23885: only reset DMA on problematic CPUs

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